[Lazarus] TPairSplitter vs. TSplitter

Paul Ishenin ip at kmiac.ru
Mon Jun 1 02:58:43 CEST 2009


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 would use TSplitter only.

Best regards,
Paul Ishenin.





More information about the Lazarus mailing list