Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to call a class into form
Message
De
16/10/2002 07:57:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
16/10/2002 07:54:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00711636
Message ID:
00711637
Vues:
12
>hi there,
> pls send me tips on how to call a VCX class into FORM?
>
>tnx a lot

You have saved a form as a class, right? Let's say your class is called cSampleForm.
local loForm
loForm = CreateObject("cSampleForm", par1, par2)
loForm.Show()
* or: loForm.Visible = .T.
par1 and par2 are (optional) additional parameters, passed to the form's Init().

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform