Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to run a form saved as a class
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00400258
Message ID:
00400260
Views:
14
loForm=CreateObject("MyFormClass", param1, param2, param3, ...)

Params will be passed through to the Init method same as Do Form.

>I normally run forms as : Do Form Myform with Param1,Param2,Param3
>
>I am starting to save Forms as classes and now am trying to run a form, but Do Form MyFormClass does not work.
>
>Can I still pass parameters to the form if using it as a class ?
>
>Regards,
>Gerard
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Reply
Map
View

Click here to load this message in the networking platform