[Lazarus] TPairSplitter vs. TSplitter

Marc Santhoff M.Santhoff at web.de
Mon Jun 1 04:01:13 CEST 2009


Am Montag, den 01.06.2009, 08:58 +0800 schrieb Paul Ishenin:
> Marc Santhoff wrote:
> > Is TPairSplitter buggy? Or gtk2?
> 
> Gtk2. It happens with other controls too.
> 
> > Summing up I want to know:
> > 
> > Is it a good idea to go on using TPairSplitter or if I should better
> > switch to TSplitter?
> 
> Previosly we thought to remove TPairSplitter. TPairSplitter uses 2 
> panels + splitter on other than gtk/gtk2 platforms. Therefore it adds 2 
> unneeded window handles. This makes your form more heavy - it needs more 
> os resources, positioning and resizing requires more operations.

I'd vote for removing, if in the end it happens to be a bad decision to
use it because it is not fully funtional (combined with gtk2) and with
TSplitter there is an alternative.

> I would use TSplitter only.

Will do so, too.

Many thanks for clearing things up.

-- 
Marc Santhoff <M.Santhoff at web.de>





More information about the Lazarus mailing list