Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help - reorganize class libraries - how can you ?
Message
 
To
27/09/1997 05:07:05
Shihchau Tai
Apic Systems Pte Ltd
Singapore, Singapore
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00051352
Message ID:
00051996
Views:
36
>>>>>>I have a series of applications sharing objects (basically an application pattern and subclassed controls and forms).
>>>>>>
>>>>>>Those classes in 3 differents class libraries. Because one the apps makes very limited acess to a particular library, i should like to reshuffle some of my class libs to move the code to more appropriate location (VCX files). That would reduce the size of EXE significantly.
>>>>>>
>>>>>>But VFP seems not not to like this at all ... some my classes would get orphan i-e loose contact with their parent class located in an other class lib when i do copy them.
>>>>>>
>>>>>>Is there a way out, i don't care browsing VCX as DBFs but i don't want to break this heavily-subclassed and interwoven bits of code ?
>>
>>
>>Redefine the parent class of your class to the appropriate class lib.
>
>What do you mean? Are you saying your power browser works in VFP5.0a?

Tai, open the class browser and bring up the class you want to change. One of the choices on the ClassBrowser toolbar is "Redefine". Click on it an follow the screen directions to re-set a parent class.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform