CREATE CLASSLIB Command Example
The following example uses CREATE CLASSLIB to create a visual class library named myclslib
. A class named myform
based on the Visual FoxPro Form base class is created and is stored in the myclslib
visual class library. SET CLASSLIB is used to open the myclslib
visual class library so that classes within it can be used.
CREATE CLASSLIB myclslib && Creates a new .VCX visual class library
CREATE CLASS myform OF myclslib AS "Form" && Creates new class
SET CLASSLIB TO myclslib ADDITIVE && Opens MyClsLib.VCX