Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a popup by right clicking in a listbox
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01045051
Message ID:
01045140
Views:
28
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform