Position of chosen menu option
Posted: Tue Sep 21, 2010 9:27 am
From the Sep 8, 2008 post of Rathi:
I have a main menu whose options are variable (taken from a dbf). Some options have sub-options while other do not. And depending on program parameters (ie. Username), the structure may change. For example:
Option 1
Option 2
Suboption2-1
Suboption2-2
Option 3
Suboption3-1
Option 4
How do I determine position of selected menu option?
Position will determine function to call.
Thanks,
cocoking
Is it now possible to get the position of selected menu option?Wishes are endless. Like these. I had dreamed during 2003.
I am happy that some of them had come true.
...
5. Can we find out the row and column position of the system menu clicked (example if we click ‘File’ -> ‘New’, the value shall be 1,1 and if we click
‘File’ -> ‘Open’ the value shall be 1,2 and so on.) This is required for finding out the menu option selected for the menu options created using loops.
I have a main menu whose options are variable (taken from a dbf). Some options have sub-options while other do not. And depending on program parameters (ie. Username), the structure may change. For example:
Option 1
Option 2
Suboption2-1
Suboption2-2
Option 3
Suboption3-1
Option 4
How do I determine position of selected menu option?
Position will determine function to call.
Thanks,
cocoking