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:32:45
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00142974
Message ID:
00143013
Views:
24
This is too funny....how about a RELEASE WINDOW "Class Designer" in the code line right after the CREATE CLASS?

>>Fred ----
>>
>>*** SUBCLASS.PRG
>>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.
>>
>>
>Yes, but it STILL pops up the ClassDesigner. It just doesn't wait before executing the next line of code...
------------------------------------------------
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