Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copying Methods From One Form to Another
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00649462
Message ID:
00649472
Vues:
16
Charles,

The proper way to accomplish this is to create a form class that has the necessary methods. Then create two forms as subclasses of the class. Then you'll have a single point to maintain all of the code.

>
Use form1.scx In 0
>cMethods = methods
>Use form2.scx In 0
>Replace methods With cmethods
>
>I'd like to just copy the methods I've put in form1 to form2 since I use the same methods, just a different interface. Will there be any other fields I need to copy? I just want 'em methods from one form to another. Thanks.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform