Topic: limit how small a windows can be dragged

I set sizeable to true on in my program so the users that want to can go to full screen, but the down side is they can also drag it down to where only a part of the forms show, Is there a way to make a minimum limit on the form so it can be resized to small to use?

Re: limit how small a windows can be dragged

Please, download latest beta version 1.50
https://www.dropbox.com/s/0m799p8qxh5kb … 0.zip?dl=0



After that you can use this example:

    Form1.Constraints.MaxHeight := 400;
    Form1.Constraints.MinHeight := 200;
    Form1.Constraints.MaxWidth := 400;
    Form1.Constraints.MinWidth := 200;
Dmitry.

Re: limit how small a windows can be dragged

Thanks!