Preventing resizing of a Form ?

K

Ken Williams

By default a Form is resizeable.

How do I prevent the resizing of a Form ?

Ken
 
A

Ashot Geodakov

A form has a "FormBorderStyle" property, which you can change in the design
mode in the Properties window.
 
N

nano2k

form.FormBorderStyle =
System.Windows.Forms.FormBorderStyle.FixedSingle
You may also hide the minimize and maximize buttons:
In form designer set to false the following 2 properties: MinimizeBox
and MaximizeBox



Ken Williams a scris:
 
M

Moty Michaely

A form has a "FormBorderStyle" property, which you can change in the design
mode in the Properties window.

--http://www.rackaroo.com

Hi,

Furthermore (without changing the border style),
You can set the minimum and maximum size of the window to be the same.

Moty
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top