Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Opposite of
Message
 
 
To
04/09/2006 22:17:57
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
01150809
Message ID:
01150898
Views:
28
>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.

You would not be able to use class properties in design time. In other words, if your custom class has several new methods and properties you would have to create them on the form level...
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform