Re: [Lazarus] TSplitter refuses to move to the left with mouse (but moves via code)

2017-03-22 Thread Vojtěch Čihák via Lazarus
Hi,   It is caused by property TSplitter.MinSize. I just tested, when I move by mouse, I'm stopped on this value. But with code, I can go below this limit. You can modify the code:   if Splitter1.Left>Splitter1.MinSize then   ... (and set MinSize to 50 in Object Inspector).   so the limit will

[Lazarus] TSplitter refuses to move to the left with mouse (but moves via code)

2017-03-20 Thread Jürgen Hestermann via Lazarus
I have a TSplitter that separates elements on the left from those on the right. I use code to move this splitter to the left or right in an KeyDown routine. Example: --- case Key of VK_LEFT : begin if