How do I prevent resizing my application window?
How can I do that?
1. FormBorderStyle -> FixedSingle.
You can not control the size of the window. You can use CSS to set min-width and min-height properties to ensure your page layout stays sane. using 'window. open' I can open a page with a fixed height width.
On the main Form
(or any Form
that you don't want to be resizable), change the FormBorderStyle
property to Fixed______
(FixedSingle
, Fixed3D
, FixedDialog
, FixedToolWindow
).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With