Enforcing Minimum MDI Child Form Size

  • Thread starter Thread starter Damien Sawyer
  • Start date Start date
D

Damien Sawyer

Hi,

Can someone recommend the 'best practice' for ensuring that the user doesn't
resize a form (MDI child) to be smaller than a given w * h?

I've been playing with resetting the size in the onresize event, however the
screen refresshes are looking messy.

Thanks very much in advance,


Damien Sawyer
 
Hi Damien,

Use the MinimumSize property of the Form class to set the min size. So,
when you create an MDI child, you could set this.

HTH,
Rakesh Rajan
 

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

Back
Top