Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug: Subclassing with long LPARAM clause - fatal excepti
Message
De
15/08/2002 03:42:02
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00689496
Message ID:
00689872
Vues:
28
>Zlatin,
>
>>I know how to workaround, but if I wish to use descriptive parameters names it is not possible. 16 parameters each with lenght of 16 characters is not a common scenario, but it may happen, as in my case.
>
>I'd recommend that you check out the Wiki article http://fox.wikis.com/wc.dll?Wiki~OperandPrinciple . I am a firm believer that object properties should be used instead of having methods that require tons of parameters.

What about if the same object is shared between many other objects which want to save and recover states? Using parameters of type object is more appropriate that overloading with properties in this case. Properties are good as long as you do not change their value very frequently.

If all should be done with properties, no standard events or methods of base classes would have parameters.
Regards
Zlatin Zlatev,
MCSD (VS6)

Make solutions, not programs!

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform