Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to run a form saved as a class
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00400258
Message ID:
00400260
Vues:
15
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform