Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a Method from an inactive form
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00512457
Message ID:
00512461
Views:
7
>I want to use a method from an inactive form. How do you I call this method from a PRG file?
>
>Thanks.

You need to make an object reference to the form and call it by
formobject.method(). You can do that by using the NAME clause of DO FORM when the form is launched or access the _screen forms collection. Or, create a form manager object that keeps a list of form objects for your app.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Previous
Reply
Map
View

Click here to load this message in the networking platform