Custom painter for standard component
Using the IDE graphical layout tool (Palette?) I have created a UI with many nested components. I have a Tabbed Pane which has standard components in most of the tabs. I want one tab to contain a a Scroller with a component (e.g. a Panel called "foo") with a custom painter and mouse handler.
Everything works except the painting of the Panel called foo. Foo can receive mouse updates, but it just won't paint. I bet I have missed something fundamental.
Is there some model code I can copy? I just can't find an example where a standard component has been overridden with a custom painter. Do I have to create the whole UI programatically, and punt on the graphical layout tool?