I probably wasn't clear enough in my original message. The custom class has been defined programatically with a DEFINE CLASS statement that has beeen added to the project via a SET PROCEDURE TO where is the name of the .prg file that contains the class definition code.
>I don't understand why you don't add the class visually. Just because the custom class doesn't have a user interface, doesn't mean you can't add it visually.