//看看我的代码. procedure TForm1.FormResize(Sender: TObject); begin if FlashPlay.Playing = True then begin pelToolBar.SetFocus; //这里 FlashPlay.SetFocus; //这里 end; if (Self.Width <= 500) or (Self.Height <= 400) then begin Self.Width := 500; Self.Height := 400; end; //panText.Width := panMo.Width div 2 ; //ToolPlay.Width := panMo.Width div 2; end;
----------------------------------------------
-