Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Activating a specific menu bar. 1

Status
Not open for further replies.

flamfox

Programmer
Sep 26, 2003
6
RO
Hi,

Is there any way to activate a menu BAR, knowing menu name, popup name and bar number ?
My menu is a _msysmenu .
I want for my applications menu a DOS- kind behavior (to return to last selected menu item – after executing the corresponding task)
I think API can do this but I’d preferred a native fox solution if any exists.

I appreciate any help.


Win2K sp 4, VFP8 sp1
 
I don't think you need to get that fancy. Setup your menu so it accepts a shortcut "</Data" and then pass-in the keyboard command to run the menu option of your choice.

KEYBOARD '{ALT+D}'


Jim Osieczonek
Delta Business Group, LLC
 
Setup your menu so it accepts a shortcut "</Data" and then...

sir jim

a typo, perhaps? i think "</Data" should read "\<Data".

i hope this helps. peace! [peace]


kilroy [trooper]
philippines

"Illegitimis non carborundum!"
 
Jimoo

I thought your solution is the key to my problem, but I need just to activate (highlight) a specific menu bar, not to actually click on it.

I must be more specific.
The usual scenario is that user click a menu item, this click ( or keypress ) calls a form, and after some actions, the form is released. Here is my problem.
I want that after the form is released, the menu item I last selected to be the active one.
In my application (and generaly), usually the user have to operate in a specific order, therefore I displayed menu item grouped on utility, is expected that the next selected menu item will be above or below . So it’s no need that the user navigate all menu again to reach where he want.

Win2K sp 4, VFP8 sp1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top