Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing a form from a shortcut menu
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00037113
Message ID:
00037121
Views:
32
>>Hi Everyone,
>>
>> I have a form that displays a shortcut popup when you right-click on it. One of the choices in the menu needs to run a method of the form. How do I reference the form from within the scope of the popup menu?
>>
>>TIA
>>
>>Mike
>
>You should either name of Form scx file or reference name if you used
>DO FORM ... NAME cRefname

That doesn't seem to work. Here is what I'm looking at:

from main menu

do form customer.scx


inside customer.scx
form1.name = 'Customer_window'

customer_window.rightclick()
do customermenu.mpr


inside customermenu
customer_window.mymethod(p1,p2)

or

customer.mymethod(p1,p2)


either of these gives me the object does not exist error

what am I doing wrong??
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform