Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclass entire class library
Message
From
02/07/2003 21:36:46
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Subclass entire class library
Miscellaneous
Thread ID:
00806385
Message ID:
00806385
Views:
58
I want to subclass entire class library. I know I can use Create Class Command to do for each class in the class library. I wonder whether the following coding is a workable solution or not:

copy file original.* to newsubclass.*
use newsubclass.vcx
delete for !empty(parent)
replace class with objname for val(reserved2) > 0
replace classloc with 'original.vcx' for empty(classloc) and val(reserved2) > 0
replace reserved2 with '1' for val(reserved2) > 1
use


Thank you for any suggestion.


Peter
Next
Reply
Map
View

Click here to load this message in the networking platform