Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object Orienteed Menus
Message
 
À
14/06/1999 15:34:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00229592
Message ID:
00229686
Vues:
25
Brian,

I know that I have been looking for a way to use Icons on menus like MS Outlook and such which does not exist in VFP yet! The best menu builder that I have seen so far (not in the VFP world) is in Delphi. I have been looking at a way to encapsulate that same functionality into a VFP menu builder as well. I haven't seen that many VFP menu builders that were truly object oriented myself.

In order to get the Icons on menus and menu bars you have to use Owner Drawn methods to get the icons drawn onto the menu for you. I know Rick Strahl is using a menu builder that is an ActiveX control from Data Dynamics I think. I'd have to look back at my notes. It supports the floating menu bars as in Outlook as well. However, Rick mentioned some oddities with it as well. But then nothing's perfect! An interesting note about how Delphi does their menus is that each menu can call a common method much like we can in VFP but you can create and Action List and then when you want to add the code for the Click event of the menu you get a drop down list of all of the coded Actions available from the Action List control.

Just some thoughts about design for a menu builder.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform