Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the class of existing objects
Message
From
23/01/1999 11:12:19
 
 
To
23/01/1999 10:21:21
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00179378
Message ID:
00179386
Views:
28
>I have a form that was created using FoxPro's base classes. I have since created my own library of classes and would like to change the class and parent class of the EditBox's, Command buttond etc in my existing form.
>
>Would replacing the class and parent class fields in the scx file work? Is there another way?
>
>Also, should I have based my set of classes on the standard FoxPro classes or the ones in the "My base classes" section of the componenet gallery in VFP 6?

Instead of hacking around with every thing, use the tool provided to do this... The Class Browser... a sort of misnomer since you can open an .SCX and a .PJX in the class browser to. Once you open the .SCX in the brower, Right Click on the form, choose Redefine, and choose the class you want to use.

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform