On Feb 6, 2006, at 8:55 AM, Ian R wrote:
Thanks Phil & Charles, you've given me a bit to think about.
You're probably right, now that I think of it, I probably don't
need dbListBox.
There are good reasons to have a subclassed Listbox, and from the
name you gave it it sounds like it has something to do with a
Database (which is a good reason). If written in a generic way, you
could have a LoadData method in dbListBox -- but triggering the
LoadData method should probably occur from outside the class such as
in the Action() event of a PushButton.
Do you ever do that thing where you were so sure there was a
specific thing you needed to do, but then you couldn't remember
why? I can't wait to get back to my code.
That is what comments are suppose to be for. =)
Explain the why, not the how, so that you know what the block of code
achieves.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>