Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
101 VFP7 Things, Part 21 -- Menus
Message
From
23/01/2001 11:51:51
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
101 VFP7 Things, Part 21 -- Menus
Miscellaneous
Thread ID:
00467381
Message ID:
00467381
Views:
48
Hey everyone, sorry I haven't done this for a while, here it goes.

There are some Menu changes in VFP7, first off is that they support pictures. Pictures can be added in the Menu Designer under the options dialog, or the PICTURE PICTRES clauses to DEFINE BAR.

Since Pictures is available in the Menu designer, that means that the file format has changed. If you open a VFP7 menu in VFP6 it says its not a menu. However, the code generated will still run in VFP6 as long as you don't use any pictures. Another problem this creates is recompiling all files of a VFP6 project, if one of them is a VFP7 menu you'll get an error,

Also added to DEFINE BAR are the MRU and INVERT clauses. INVERT simply tells teh menu to look inverted you like you see in new applications. MRU tells define bar to ignore the rest of the DEFINE BAR and just show a chevron, that image you see in menus where items are not visible if they haven't been used recently.

Keep in mind, MRUs are NOT supported in VFP7 menus, however, with the MRU and INVERT clauses for DEFINE BAR it is cosmetically possible to do, you just need to write the code that manages it. There will probably be a couple theird party utilities around to do this, or the VFP team may even add it in before the release, who knows.
Next
Reply
Map
View

Click here to load this message in the networking platform