Alan Colburn wrote:
> Hi folks --
> 
> 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.)
> 
> As always, thanks in advance for your help. -- Al 

alTop/alBottom take precedence over alRight/alLeft (not sure why 
that should be the case, it's just the way it is, I guess 
something HAD to).

The way to get the effect you want is to add your left hand panel 
and splitter, then add an alClient panel in the remaining area of 
the form.

Then add the alTop GroupBox and Splitter, and alClient GroupBox 
into the alClient panel.

Make sense?

Stephen Posey
[EMAIL PROTECTED]


_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to