Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to instantiate a form class
Message
From
04/04/2006 08:43:50
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
04/04/2006 08:27:52
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01110219
Message ID:
01110224
Views:
13
>Hi all
>
>I create a classe base on form , I would want instanced it .
>Help please
>
>Best regards

I will assume your form class is called cSampleForm, and is saved in class library MyClasses:
set classlib to MyClasses
local loForm
loForm = CreateObject("cSampleForm") && The form is not yet visible
loForm.Show()
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
Next
Reply
Map
View

Click here to load this message in the networking platform