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
 
Back
Top