Fred ----
LPARMS cOldClass,cOldClassLib,cNewClass,cNewClassLib
CREATE CLASS &NewClass OF &cNewClassLib AS &cOldClass FROM &cOldClassLib NOWAIT
RETURN
From the Command Window, type =Subclass("oldclass","oldlib","newclass","newlib")
The NOWAIT option on create class will work in code.
>Hi All!
>
>I'm looking for a way to create a new .VCX library of classes subclassed from another .VCX programatically. I've looked at CREATE CLASS but it brings up the ClassDesigner. Is there any way to do this without the ClassDesigner being shown?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05