Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling form methods
Message
 
To
15/01/2001 03:28:49
Leo Joseph
Pan Arab Research Center, Bahrain
Manama, Bahrain
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00463672
Message ID:
00464046
Views:
11
Leo,
Pass a reference to the form to the PRG as a parameter:
** In the form
do MyPrg with thisform

** In the PRG
lParameter oForm
...
oform.MyFormProperty = 'ABC'  && Changes the property to "ABC"
HTH
Barbara

>Dear,
>
>Is there any way to call a Method that is in an Active/Open form from a PRG file?
>
>That is, from a PRG file, can I do something like
>DO FORMNAME.METHODNAME
>
>Thank you.
>
>Leo
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform