Hi!
Correct command is SET CLASSLIB.
>I am doing a wizard type form class, and on page2 I want to insert an replaceable pageframe with a couple of pages. I can do this by simply dropping the pageframe class on page2, but if in page2.activate I do this:
>
set library to (thisform.classlibrary) additive
>this.addobject('oFilter','rptapp')
>
>...it tells me that the class is wrong for this container.
>
>OK, I got it, the class name should be RptFiltApp. I was trying to instantiate yet another instance of the form class on a page. Thanks for your patience, ladies and gentlemen. Yes, I know, it's Friday.
>
>BTW, I do have a question. On first line it errored out saying that the vcx file doesn't exist. In the debugger I saw the property held a valid filename. Maybe I shouldn't try this Set ClassLibrary at all, since this classlib is open by default?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.