Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug: Subclassing with long LPARAM clause - fatal excepti
Message
From
15/08/2002 03:42:02
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00689496
Message ID:
00689872
Views:
29
>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!

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform