var modalLess:TForm; begin modalLess := TForm.Create(Application); modalLess.Caption := '非模式窗口' ; modalLess.Show ; //显示非模式窗口 //modalLess.ShowModal; //显示模式窗口 end;