Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I create a content menu
Message
From
16/10/2000 11:09:52
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00429743
Message ID:
00429763
Views:
15
>Can anyone direct me to information Or tell me how I would create a content menu when the user right clicks on an object.

Like Stephen said, or, there is an OO way too. The FFC has a _shortcut class in _menu.vcx which allows you to create, edit, and display a shortcut menu programmatically.

One little tip, since your menu can't use object refrences like THIS and THISFORM in it, to use them, do somethign like this:

private oThis, oThisform

oTHis = this
oThisform = thisform

oMenu.ShowMenu()


Now you can use oThis and oThisform in your menu.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform