Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To Rename Classes
Message
From
29/01/2002 15:47:58
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00612343
Message ID:
00612436
Views:
23
Ken,

Thanks for the answer -- I _knew_ there had to be a way do it in VFP! <g> I wasn't opening up the scx files in the class browser.

Pete

>>I have a bunch of base classes, and a few subclasses. I also have several forms that use these classes. I'm not happy with my class naming conventions and want to rename all the classes. How do I do this, so that all the objects can still be instantiated? I know about using the Class Browser to rename the classes, but when I do this, the objects on the forms won't instantiate. Could anyone point me in the right direction to learn how to do this?
>
>If you open all the class libraries (VCX files) that relates to the class you are going to rename (all VCXs containing subclasses of that class), then the Class Browser will properly rename all subclasses and object instances in those VCXs. If you have SCX forms using classes/objects of the class being renamed, open those SCXs in the Class Browser when you do the renaming of the class also.
Pete Donahoe
Once a programmer, always a programmer!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform