>>>>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
>
>That almost works. The problem is that the INIT event fires for the class. It seems to me I remember there being some way to create an object WITHOUT firing the INIT event. You wouldn't happen to know how to do that, would you?
This seems contradictory to the purpose of CREATEOBJECT... init is any object's constructor event. If it doesn't run, the object isn't created. Why don't you want the init to run? If the init performs something that you don't want done, modify the class to accept .F. as a parameter and if this parameter is passed, bypass the behavior you don't want.
Erik Moore
Clientelligence