How do I resize a TSplitter at run-time from my code?
Posted on 2004-11-14
I have two TSplitters like this, on the left side of my form. The TSplitters are the RightMost column and the row in the middle -
Doesn't matter, really. What I'd like to do is Resize them at loading time (i.e. save the last settings (Width, Height) of the controls inside).
I've saved and load the Left property of the Right TSPlitter, and the Top of the middle TSplitter, but when I assign these at MyForm.OnActivate nothing happens.
I've tried also resizing the Width of the two Panels inside the spitters but it didn't help.
What to do?