Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form name
Message
De
29/04/2007 18:29:00
 
 
À
27/04/2007 20:35:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01220708
Message ID:
01220954
Vues:
19
If you have an error logging procedure, having the same name for a form in the name property could be confusing as the methods are referred to with the form name.

I typically set the .Name property to the same name as the file name. This makes it easy to identify which form is the listed in an error log. I also have a custom property "FormName" that is also set to the file name. This is for some instances that I have to name the form instance .Name property at run-time. This is for managing multiple instances of the same form file at run-time (I have a collection class that manages the open forms and it is indexed by the form.Name property).
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform