Posted
on Dec 13, 2009
(permalink)
I might've found a way to accomplish this. Time will tell though, but it only takes a few lines of code. The general logic looks like this:
MDI Child forms: make a public property of a RADToolBar item or element
MDI Parent with the RADDock set to autodiscover MDI Children: On the ActiveWindowChanged method, clear the items, declare a new form = the DockWindow.ActiveControl (this is where I'm not sure what will go awry with resource consumption yet), Then, on the MDI parent, add the items made available via the public property of the child form
It's working so far for me, but I can see where it could be tricky to manage if a number of toolbar elements are used.
If I run a SuspendLayout & resumelayout, the screen doesn't shift at all and the entire transition is silky smooth.
:)
jr