Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Opposite of
Message
From
04/09/2006 22:17:57
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Opposite of
Miscellaneous
Thread ID:
01150809
Message ID:
01150809
Views:
85
Opposite of "save as class":

If I have an object on a form, I can convert it to a class with the command "Save as Class".

Is there a way to do this the other way, convert a class to an object on the form? I know I can place an instance of a class, but in this case I want to use the object in one single form, and eliminate the class.

The class is inherited from some custom class. Right now, I am creating an instance of the custom class on the form, and manually copying the PEMs. I was thinking there should be a faster way, but there doesn't seem to be.

TIA,

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)
Next
Reply
Map
View

Click here to load this message in the networking platform