Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a popup by right clicking in a listbox
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01045051
Message ID:
01045140
Vues:
26
>I have a listbox on a form with a list of users who are logged into my application. I want to create to perform a number of actions like flush the user out etc. How can I create a menu of items like a popup when I right click on the user?

In the RightClick of that object, put code similar to:

DO MyPopupMenu.mpr WITH THIS

Then issue command:

CREATE MENU MyPopupMenu

Click the Shortcut button. Under the Veiw menu pad, click General Options, Setup, add your lparameter command. Now your menu code has an object reference to the calling object.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform