Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Item name under the mouse cursor

MPJMar 25 2020 — edited Mar 25 2020

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.

This post has been answered by Matej D. on Mar 25 2020
Jump to Answer
Comments
Post Details
Added on Mar 25 2020
2 comments
522 views