>You are not supposed to be able to add a class definition to a visual class library from a VFP program, application or procedure file. I know you can do this by re-creating your class definiton within the Class Designer and manually copying text from the prg file methods and past it the Class Designer event or method window.
>
>I would love to avoid using the class designer. Is there an easier way?
>
>Chuck
If you don't want to use the Class Designer, don't. But then you can't drop your class on a form visually, it can only be added through code via CREATEOBJECT/NEWOBJECT.