Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to keep procedure
Message
 
À
27/07/2000 09:28:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00397542
Message ID:
00397560
Vues:
11
>I have a procedure that is used in most forms that I have in my TblClass.vcx. I drag and drop TblClass onto the form then use the procedures in there. I just had the thought that it would be easier to just add a Method to my form base class for IsEmpty(). That way it is always there when I need it. Is there any reason not to have several procedures added to your form class to handle routine things?
>

You are right. If you use it throughout your forms that's the reason to place the code in a method in your base form class.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform