我在 D2006 下测试,在Constranints里面设置正常。<br>如果不行的话,可以用消息控制:<br>。。。<br>type<br> TForm1 = class(TForm)<br> private<br> { Private declarations }<br> procedure WMGetMinMaxInfo(var MSG: Tmessage); message WM_GetMinMaxInfo;<br> public<br> { Public declarations }<br> end;<br><br>。。。<br><br>procedure TForm1.WMGetMinMaxInfo(var MSG: Tmessage);<br>Begin<br> inherited;<br> with PMinMaxInfo(MSG.lparam)^ do<br> begin<br> with ptMinTrackSize do<br> begin<br> X := 300;<br> Y := 150;<br> end;<br> with ptMaxTrackSize do<br> begin<br> X := 350;<br> Y := 250;<br> end;<br> end;<br>end;