Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ShortCut Menus and object references
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00190379
Message ID:
00190558
Vues:
17
>
>I've created a class (AppMenus) which has an array which a programmer populates to show as menu items. It'll even do system menu items if you wish. One instantiates the class (I usually use a .RightClick for this too), populates the array with menu items, calls it's .ShortCut() method which constructs the menu and it will set a property to the item the user selected.
>
>ON SELECTION POPUP ShortCut .gnItemChosen = BAR() is the line that populates the selected bar. Your rightclick method need only evaluate .gnItemChosen to determine what action to take. No need for publics.
>
>Steve

Thanks I will look into that and run a few tests...
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform