I have an application in which I am using a number of container controls like a pagepanel. All of the container controls have one element in common: a listbox named ItemList. What I would like to do is to put ItemList in a container control (CCDad?) and subclass all the other container controls from it, having ItemList show up on each subclassed container control. That way, instead of having to write a function which returns whether ItemList has a selection in every container control, I could just write it once and put it into CCDad. Sure would save a lot of work, not to mention cutting down on the possibility of errors.
But whenever I try this sort of thing, I an error with the text: "You cannot implement a nonexistent event." (I have no code in any of the events in the container controls.) Is there a way to do this sort of thing? I know that I can create a new class (maybe CCPapa), make its super ContainerControl and then subclass it. Iv'e done that. It works. But you can't put controls into CCPapa. Paul Dobbs Software Engineer, Staff Lockheed Martin Missiles and Fire Control--Dallas Phone (972) 603-1244 Fax (972) 603-2017 _______________________________________________ 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>
