Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to call a class into form
Message
From
16/10/2002 07:57:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
16/10/2002 07:54:55
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00711636
Message ID:
00711637
Views:
11
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform