Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Menu Pad tied to a Form...
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00146003
Message ID:
00146010
Views:
20
>Kevin,
>
>Is there a built-in way to have a menu pad that is tied to a form, so that when the form has focus the menu pad is there, and when not the menu pad is invisible? Simmilar to how toolbars are tied to forms?
>
>We want it to work like the project menu... which only exists when the project has focus?
>
>Thanks,
>BOb

Bob,

In the form's Activate method, do PUSH MENU, then your single menu. In the menu designer you can control whether or not it is appended or placed before another pad. In the Deactivate event, issue POP MENU.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform