Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I create a new VCX of subclasses programatically
Message
From
03/10/1998 21:35:54
 
 
To
03/10/1998 10:38:24
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00142974
Message ID:
00143662
Views:
33
>>>Fred ----
>>>
>>>Try this (two step process):
>>>
>>>ADD CLASS oldclassname OF oldclasslib TO newclasslib
>>>RENAME CLASS oldclassname OF newclasslib TO newclassname
>>
>>No, that's a COPY of the class. I need a subclass? Thanks for trying!
>
>Off the top of my head:
>
>x=createobject("yourclass")
>x.saveasclass("classname","classlib")
>release x


Try CREATE CLASS [class] OF [classlib] FROM [parentclass]

This will create a new subclass and open the class designer for it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform