?
Solved

setting the icon file name at run time

Posted on 2003-03-15
3
Medium Priority
?
1,069 Views
Last Modified: 2008-02-01
hi

how can we set the iconfile name property of menu at run time
instead of setting the same like 'c:\icons\winc.ico'

please help me

rajesh
0
Comment
Question by:rajeshnalankal
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 5

Expert Comment

by:jpkemp
ID: 8149433
SET_ITEM_PROPERTY('block.item',ICON_NAME,'c:\icons\myicon.ico');

Make sure the item's Iconic property is Yes.

Jeff
0
 

Author Comment

by:rajeshnalankal
ID: 8151592
hi
thanks  for your reply

i need to set icons for menu module not to a particular
item.

while loading the menu module i had set icons
by specifing the icons path to menu item at a specified path.
instead i want to set it dynamically

thanks

rajesh

0
 
LVL 5

Accepted Solution

by:
jpkemp earned 90 total points
ID: 8156045
Sorry.

SET_MENU_ITEM_PROPERTY('menu.item',ICON_NAME,'c:\icons\myicon.ico');

You probably could put this in a Program Unit in the menu module, then call it from an appropriate trigger (e.g. PRE-FORM) in the form.

Jeff
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question