Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing the class of existing objects
Message
De
24/01/1999 18:55:04
 
 
À
23/01/1999 10:21:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00179378
Message ID:
00179669
Vues:
26
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform