Information générale
Titre:
101 VFP7 Things, Part 21 -- Menus
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.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement