Locking a form

  • Thread starter Thread starter john sutor
  • Start date Start date
J

john sutor

How can you lock a form so a user cannot resize the form?
Hint: the "Locked" property does not work
 
John,

Have you tried setting the MaximumSize and MinimumSize properties to the
same value?

Hope this helps.
 
john sutor said:
How can you lock a form so a user cannot resize the form?
Hint: the "Locked" property does not work

If you look at the Form.SizeGripStyle example, it gives a good idea of
how it can be done.
 
Back
Top