下面方法也还可以<br>type<br> TForm1 = class(TForm)<br> private<br> { Private declarations }<br> public<br> procedure CreateParams(var Params:TCreateParams);override;<br> end;<br><br>var<br> Form1: TForm1;<br><br>implementation<br><br>{$R *.DFM}<br><br>procedure TForm1.CreateParams(var Params:TCreateParams);<br>begin<br> inherited CreateParams(Params);<br> with Params do<br> StYle := StYle xor WS_SYSMENU;<br>end;<br><br>