Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Menu pads initially enabled
Message
 
To
30/12/1997 20:53:56
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00068524
Message ID:
00068551
Views:
34
>I am having trouble getting menu pads/bars to be displayed after generating a menu and issuing the command:
>
>do main.mpr
>
>I can move the mouse to the pads and select with no problem, but afer executing the commands associated with the pad (do form, report form, etc.) the bars from the menu pads all disappear and I need to move the mouse back to the pad to select again. Is there an easy way to keep the most recently selected pad and bar selected. I have viewed pad() and looke through help ... but no luck. Thanks in advance.
>
>
>Jamie F.
Jamie,

You are asking to get the menu to work in a way that is totally opposite of its design. The system menu is not a modal menu and it closes up once the option has been selected. If you want it to behave differently you will need to have each option run a procedure that in trun executes the menu action, waits for the action to end and then stuffs keystrokes into the keyboard buffer to reopen the menu to the same place.

Once you have accomplished this you will have a menu system that is totally different from the menus in every other windows application and may have users screaming at you because your app isn't like all the others.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform