how to find menu name [message #211955] |
Wed, 03 January 2007 03:52 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
annu-agi1
Messages: 17 Registered: August 2006 Location: Pakistan
|
Junior Member |
![annu-agi](/forum/theme/orafaq/images/yahoo.png)
|
|
how to find menu name property e ... is there any thing which is programatically return menu name, menu_id or menu lable..
if we populate our menu items programatically .. then we dont know on
let suppose :
we have a menu Like ..
--DATA ENTRY-------------REPORTS
|
--- Frm01
|
|
--- Frm02
|
|
--- Frm02
Task
----
When we select frm01 .. message window occer and tell "YOU SELCT A FRM01" or repectivly which form you have chosen. by programatically ..
by the way i search help regarding find_menu_item_property .. for that we must need at least one thing menu_name or menu id .. if our menu is disign dynamically by programming then how can we find the name or id of respective menu item..
regards annu
|
|
|
Re: how to find menu name [message #211961 is a reply to message #211955] |
Wed, 03 January 2007 04:40 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
![](/forum/images/custom_avatars/72104.gif) |
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
Isn't it obvious that you KNOW what you selected while in menu? But, having a form whose window title shows a form name might be a better idea. If this solution satisfies your needs, here it is:
-- WHEN-WINDOW-ACTIVATED trigger:
set_window_property
(forms_mdi_window, TITLE,
'You are running form ' ||
get_application_property(current_form_name)
);
[Updated on: Wed, 03 January 2007 04:42] Report message to a moderator
|
|
|