先给窗体设置为bsNone<br>type <br> TForm1 = class(TForm) <br> private <br> { Private declarations } <br> public <br> { Public declarations } <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> Params.Style := (Params.Style or WS_THICKFRAME); <br>end;