Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the class of existing objects
Message
From
24/01/1999 18:55:04
 
 
To
23/01/1999 10:21:21
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00179378
Message ID:
00179669
Views:
25
>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?

The only way to do this sort of thing is by manipulating .scx file.
Check out the classeditor.zip file in new uploads ... It gives you
a simple screen to access classes and forms, and allows for global
replacement of classess within a form or vcx.

Having said that ... make sure you have a backup copy of your
files before you start altering vcx files. Making a wrong
change can result in an application that will not run at all.
Previous
Reply
Map
View

Click here to load this message in the networking platform