The event would be called from the listbox's Open event initially (that's where the errors are being generated from right now), but also from other methods and handlers within the owning window.

Making Update a method of the subclass doesn't work, because each instance of the subclass will have a different method for updating. Making Update an Event Definition of the subclass seemed to be the solution, as then it can have a different algorithm for each instance of the subclass. I could make Update a method of the Window and pass the calling listbox as a parameter, which I'll do if there's no other way, but if I can figure out how to call the Update event, then each listbox instance could know how to update itself.

Thanks,
Chuck
_______________________________________________
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>

Reply via email to