Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I create a content menu
Message
 
To
16/10/2000 11:09:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00429743
Message ID:
00429766
Views:
15
Right and you can reference procedures in your form
_screen.activescreen.custom_meth
is the same as
thisform.custom_meth
but you can call the _screen.activescreen.custom_meth from the menu itself

I am not sure is this is the recommended way



>>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.
Stephen McLaughlin
"Sexy Steve Valenteno", "Blastmaster"
stephenmclaughlin@gmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform