On Sun, 5 Sep 2010 07:01:04 +0200 Felipe Monteiro de Carvalho <[email protected]> wrote:
> On Sun, Sep 5, 2010 at 6:39 AM, Peter E Williams > <[email protected]> wrote: > > Questions: > > 1) Does the Memo1, OK_Button and Cancel TButton need to be in a > > TGroupBox??? > > 2) Also, should the TImage be in a TGroupBox??? > > I think that to use the splitter you need to group the elements using > a panel. No. You can use anchors as well. Just set Splitter1.Align to alNone and anchor controls to it. > I vaguely remember that if you have something like: > > Panel 1 - Splitter - Panel 2 > > Then Panel 1 should have Align=alClient, Splitter.Align = alRight, > Panel2.Align = alRight > > Yes, a group box would probably do it as well, but the panel is just > as good and can be configured to have no borders and the user won't > note he is in the form. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
