Forms 10g
I need to get a name of couple of text items when pop-up menu is executed on those items.
Under pop-up menu there is a code:
[pre]
declare
col_name varchar2(100);
begin
synchronize;
col_name:= :system.mouse_item;
message('item under mouse cursor: ' || col_name);
end;
[/pre]
But all I get is a name of text item with the focus and not the name of the item which is directly under the cursor when the right mouse button was pressed to issue a pup-up menu.
I also tried to use system.cursor_item instead mouse_item or get the name through get_item_property(name_in('system.mouse_item'),item_name) but with no success.
Please advice on how to get the text item name which is under the mouse cursor.