Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbar usage
Message
From
25/11/1998 09:57:07
 
 
To
25/11/1998 09:51:09
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Miscellaneous
Thread ID:
00161339
Message ID:
00161345
Views:
19
>I have a Visual 3.0 app using a toolbar with a form that is not part of a form set. What's the proper usage to refer to methods in this form from the toolbar. If I use the form object.method it works if the form is modal but gives me an error if nonmodal. Of course, I want to use the non-modal mode. Any help would be appreciated. Thanks.
>
>Stan Symons

The question how you start this form. If you do it linking form object to some application (or toolbar) custom property then you may use this link to call form PEMs.
Example:
*** start the form
DO FORM myform NAME oMyToolbar.MyForm LINKED
*** call some form object from toolbar
This.MyForm.Show()
This.MyForm.MyControl1.SetFocus
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform