Doru:
> If something is the default, everything else should be an exception.
Not necessarily because DoDefault allows you to provide additional
functionality to your subclasses (controls).
> Seriously, it seems logical to me that the more dodefault() calls you
> have to make, the more likely your class design is questionable.
True if you have a lot of dodefault calls at the control level. In your
specific case, you may want to break your Valid into something like this:
luRetVal =
If Not Empty(luRetVal) Then
luRetVal = This.CustomValid()
EndIf
and use the CustomValid as a repository for the code at the control level.
Daniel
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only