TPairSplitter and resizing lazarus / 10-Designer ---------------------------------------------------------------------- cyber_python · 2008-03-27 18:29 I ahve the following problem and I cannot figure out how to solve it, so I'd be grateful if anyone had an idea : I have a form with a TPairsplitter with SplitterType set to pstVertical. In TPairSplitterSide 1 I have placed TPanel1 and in TPairSplitterSide2 I have placed TPanel2. Also, I've set TPairSplitter1.position to 300(aprox 75% of the form's height). What I want to do is when I resize the form, Pane1 to get larger and panel2 to remain as is. But what happens is the opposite. ---------------------------------------------------------------------- tatamata · 2008-03-28 08:50 Hello. I just wanted to ask about TPairSplitter and how it can be used for autosizing and autoaranging of controls for different screen resolutions. For example, if I have two datagrids (DataGrid1 and Datagrid2) inside TPairSplitter, what I need to do that both sizes as long as both datagrids resizes proportinally (equally) due screen resolution? Regards; Zlatko ---------------------------------------------------------------------- cyber_python · 2008-04-08 10:02 Today I upgraded to Lazarus 0.9.24 and the flickering I got using TSplitter is gone so now I can use TSplitter instead of TPairSplitter and the problem mentioned above is solved.