Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I change object's parent class?
Message
 
To
28/05/2002 18:01:25
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00658367
Message ID:
00662214
Views:
19
>
>Another solution, which has the same effect as the solution above, but does not require you to rename or move >any directories, is to USE the SCX file for your form, locate the records pertaining to the "wrong" class >library (see CLASSLOC field) and change the references to the "correct" library. Close the SCX file and your >good to go. In the interest of tidiness you'll still need to remove the library from your project if you are >no longer using it elsewhere in another form, etc.

Yes, but You need to recompile the form after that. I use both ways depending on the
complexity of the form and what I like more at that time <g>. Normally it is much
faster (and I think a bit safer) to just take the classlib away for a moment and
reopen the form, pointing at the correct class. However that only works if there
are not classes needed from the class You have to take away ;-)
Regards from Berlin

Frank

Dietrich Datentechnik (Berlin)
Softwarekombinat Teltow (Teltow)

Frank.Dietrich@dd-tech.de
DFPUG # 327
Previous
Reply
Map
View

Click here to load this message in the networking platform