>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only