Jerry,
I never do classes in code, except for the ones that can't be visually subclassed like Header.
Can you temporarily redefine your class so that it is based on something from a classlib:
original: define class MyClass as custom
try this:
set classlib to aClassLib && contains class cCustom
define class MyClass as cCustom
>I have a DEFINE CLASS - ENDDEFINE statement in a prg that I want to convert to a class in a VCX.
>I haven't found a way to do it. Using Object.saveasclass() only works if the souce class is already in a vcx.
>How do you gurus do it?