Yet another TPairSplitter question:

I can ensure that the ratio between upper and lower panel is a certain ratio by 
adding an OnResize method like this:

PairSplitter1.Position    := Round(PairSplitter1.Height*SplitterRatio);

with SplitterRatio beeing something between 0 and 1 (I used 0.5 to make both 
(nearly) the same size).

But if the user now changes the ratio manually I need to update SplitterRatio.
What event is driven when the splitter is moved manually so that I can 
recalculate SplitterRatio?

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

Reply via email to