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:
01016925
Views:
11
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform