Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Menu in Top-Level Form
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00066210
Message ID:
00066233
Views:
28
>>>>If I have a menu in a top-level form, how do I properly reference the form and its objects from the menu?
>>>
>>>Use the NAME parameter in the DO FORM, then refer to it that way from the menu.
>>
>>Not sure what you mean. I am running a top-level form (a SDI app) and in the forms Init event I have the following:
>>
>>DO mymenu.MPR WITH THIS
>
>Use DO FORM etc NAME myform, then from menu refer to form as
>
>myform.object...

I am not issuing a DO FORM anywhere though. My project consists of a form and a menu. The form is Set To Main and the menu is run in the form.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform