Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to add one line in all forms
Message
 
À
07/10/2005 10:55:36
Mk Sharma
Shrishti Solutions
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01057064
Message ID:
01057196
Vues:
9
mk;

Are you using the text box directly from the VFP Library, or have you sub classed it? When using OOP such as is available within VFP the first thing I was taught to do was to subclass all controls. From there you subclass controls as necessary for specific functionality.

Now if you had a sub classed control as described above, you would place code within that one object, drop it on your forms and you are all set. Any changes to that objects functionality that spans all forms where it is used will be reflected by simply changing code in one place.

The alternative is to go to each form and drop in the required code.

Tom


>i have already created my all the forms and now i want to add this line to my all forms programmeticaly otherwise i have to go and change my all forms manualy.
>
>is there any way to do this programmeticaly.
>
>warm regards,
>mk.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform