Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding Properties to form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00480073
Message ID:
00480076
Vues:
9
>We have about 25 properties that we need for some forms.
>
>Not all properties are needed for each form. Example: one form may need 10 properties and another may need 15 properties.
>
>We have two options:
>
>1. Create a class with all the 25 properties and use the ones we need in the instance of that class.
>
>2. Create and add only needed properties on the fly when we load the form.
>
>
>Any insight which option may be a better choice ?

Option 1. Why bother with #2? Negligible performance hit and overhead with that few properties.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform