Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I create a new VCX of subclasses programatically
Message
From
01/10/1998 16:55:00
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00142974
Message ID:
00143030
Views:
32
Fred ---

Ta da!!! This is the best way to do it.......
LPARAMETERS cOldLib,cOldClass,cNewLib,cNewClass
SET CLASSLIB TO &cOldLib
oObject=CREATEOBJECT("&cOldClass.")
oObject.SaveAsClass("&cNewLib","&cNewClass")
SET CLASSLIB TO
RETURN
------------------------------------------------
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform