Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Must be doing something wrong
Message
From
27/09/2002 12:06:21
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
 
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00705203
Message ID:
00705290
Views:
10
That's the problem. Thanks Cathi.

>MinimumSize property does not work for MdiChild forms. It should work for all other types of forms. Microsoft is aware of this bug and have stated that it will be fixed in a future release. One work around developers have used is to check if the Form has been resized to a smaller size than MinimumSize (and resizing it back) in the Resize event handler for the child form.
>
>
>private void ChildFrm_Resize(object sender, System.EventArgs e)
>    {
>        // Please modify code according to your requirement
>        int CurrHt=this.Height;
>        int MinHt=this.MinimumSize.Height;
>        if( CurrHt <= MinHt)
>        {
>            CurrHt = MinHt;
>            return;
>        }
>    }
>
>
>
>>Hello,
>>
>> I have a Windows form and have set the MinimumSize property. When I run the program I can go past the MinimumSize property value. Has anyone else had this problem? Is there another property that I need to set?
Thanks

Jim
Previous
Reply
Map
View

Click here to load this message in the networking platform