Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ALT key to put inFocus
Message
 
To
01/12/1996 12:37:47
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00013884
Message ID:
00014035
Views:
39
> > I would like to make my VFP 3.0 menus work like > real menus. Just like when you enter VFP the > command box gets the focus and if you press the > ALT key the menu gets the focus. > > Say you create a form called customer that is like > the form created by the Wizard. If you run the form > DO FORM CUSTOMER from the command box all is well > but if do the same a menu the form is shown but the > menu still has focus and all events still are with > the menu. > > I tried to ON KEY LABEL but no ALT label. > I changed the WindowType to 1 and then can use the > form but if I press ALT I can not get the menu back. > I put READ EVENTS in the CUSTOMER.ACTIVE method and > the form again worked ok but the HELP says that > READ is only for backward comp. and I am tring to > stay away from all commands "included for backwards > compatablity only." > > So I really have to problems 1) to put menu infocus > with the ALT key and 2) after DO FORM the form is > infocus. > > Thanks in advance, > > Dennis Romano Denis, You need the Read Events! Typically after you call the menu. Make sure that there is one menu option that CLEAR EVENTs. In order to have Alt hot keys, look under option, shortcut in the menu designer. HTH, Marc

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Previous
Reply
Map
View

Click here to load this message in the networking platform