Hi All,

I have been trying to produce a header panel which I can use to adjust 
the size of columns in an OwnerDraw implementation of TTreeview. I have 
a panel on which I have a number of other panels separated by 
TSplitters. All except one of the 'child' panels are aligned alLeft, 
with the remaining one aligned alClient.

It works satisfactorily except for one thing: if you play about 
adjusting the size of the child panels long enough, one of the 
TSplitters will change position and settle alongside another TSplitter, 
leaving one of the junctions between panels without a resizing control.

 I have been unable to pin down what fires the change in position: 
sometimes it happens with very little use of the resizing control, 
sometimes it takes a little longer. This behaviour occurs in GTK1, GTK2 
and in Windows under Win98. I have made a test app to demonstrate this 
which can be found at
http://www.lingua-z.co.uk/testheader.zip

Is this a bug in TSplitter? And does anyone have any suggestions for 
making a resizable headercontrol that will behave itself?

Regards,

Malcolm
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to