Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Menu pad for 'Browse' and 'Change' in View menu
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01016913
Message ID:
01017001
Views:
21
Thanks Brad.
I know about _mview, but the reason i asked is since i wanted to avoid having the View menu on at all times in the application ( in my own menu, when browsing, View does not come automatically ), but didn't find a way. In the meantime, i left the sysmenu on and added to it my menu pads, so it's working, although not as elegant as i wished.
Jaime

>>When running a browse command, there is a Browse and Change menu commands under the View menu.
>>At runtime, i can't figure out how to activate those 2 ( running the browse command does not bring them up ). Any ideas?
>>Jaime
>
>
>
>DEFINE PAD _msm_view OF _MSYSMENU PROMPT "\<View" COLOR SCHEME 3 ;
>  NEGOTIATE  NONE, LEFT ;
>  KEY ALT+V, "" ;
>  MESSAGE "Changes display options"
>ON PAD _msm_view OF _MSYSMENU ACTIVATE POPUP _mview
>DEFINE POPUP _mview MARGIN RELATIVE SHADOW COLOR SCHEME 4
>
>
>I think the key is that you have some menu pad activate a popup called _MVIEW. That popup will automatically put in the Browse and Edit bars that you're looking for when you BROWSE a table.
>
>If you're creating a menu from scratch in the Menu Designer, then you can choose "Quick Menu" from the "Menu" pad and it will create File, Edit, View, Tools, Program, Window, and Help pads for you and will create the appropriate POPUP names.
>
>However, if you already have a menu created, I don't know of any way (outside of opening up the MNX file and hacking it a little) of forcing the appropriate POPUP name of _MVIEW.
>
>--Brad
Why do programs stop working correctly as soon as you leave the Fox?
Previous
Reply
Map
View

Click here to load this message in the networking platform