Alan Colburn wrote: > I've got an app with a UI that includes a standard menu and toolbars at the > top. The space underneath is divided between two GroupBoxes. There's > GroupBox1 aligned to the top (alTop), a Splitter underneath (alTop), and > another GroupBox underneath the splitter (alClient). Each group box has > various controls contained within. > Now I'd like to modify the UI and add a panel and splitter to the (left) > side of the UI. I'd like the panel to go from the bottom of the toolbar to > the bottom of the UI. I don't use Outlook, but I *think* I'm talking about a > general interface common to users of Outlook and many e-mail programs. > > In any case, if I add a panel to the UI now it will only span GroupBox1 or > GroupBox2. Any idea how to have the panel span the app--other than starting > the UI building process over from scratch? (If you set the GroupBox > alignments to alNone, add the new panel with its alLeft or alRight > alignment, and then change the GroupBox properties back to alTop, you end up > with the new panel still only spanning a single group box.)
Top and bottom alignment take precedence over left and right alignment. Put your panel on the form, and align it to the left. Now put another panel on the form and give it client alignment. Move your group boxes and splitter onto the second panel so that their top and bottom alignment won't be affected by the panel's left alignment. -- Rob _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

