On Mar 12, 2007, at 1:28 pm, Lars Jensen wrote:
> I've got a Window with a bunch of controls in it, and I'd like to > re-use this control arrangement. I thought "OK, I'll just change its > Super from Window to ContainerControl." > > Using RB2007r1, this worked about halfway: the layout editor and code > editor for the new ContainerControl subclass seem to work as expected. > But when I added this subclass to a window, I don't get Top and Left > properties so it always hugs the top left corner of the containing > window. There is other odd behavior in the code editor of the > containing window as well. > > Is this supposed to work? Is there an official easy way to get a bunch > of code from a Window to a ContainerControl without a lot of cut and > paste? > > lj Lars, I've got a project that we created last year for doing this. It's a little rough around the edges, but you are welcome to it if you want. Contact me offlist and I'll send it to you. Greg O'Lone, President Stretched Out Software Inc _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
