Hi Friends,
I have a windows form.
I dont want the user to be allowed
to maximize or resize the form.
How do I go about doing this?
Regards,
Sid.
Printable View
Hi Friends,
I have a windows form.
I dont want the user to be allowed
to maximize or resize the form.
How do I go about doing this?
Regards,
Sid.
You can set the FormBorderStyle property to FixedSingle and you can set the MaximizeBox property to False.
Its usually worth just looking through the available properties for controls/forms in the designer first as you will often see what you are looking for (as most of the properties have fairly intuitive names)
Hi Chris,
Setting the maximizebox property to false would
only hide the maximize option on the top-right corner
of the form. However the user can resize the form with
the help of the mouse.
I dont want that to happen either.
Regards,
Sid.
which is exactly why I said change the FormBorderStyle property as well
Alright...this works.
Thank you.
no problem :) make sure you remember to mark this thread as Resolved by using the Thread Tools menu at the top of your first post