A
Axe
Unregistered / Unconfirmed
GUEST, unregistred user!
以下是我的线程类中的一段程序,用来显示一个模态窗体。但窗体是以非模态方式显示的,
是不是ShowModal方法在线程中无效?
procedure TMyThread.Execute;
begin
......
with TNewForm.Create(Application)do
try
ShowModal;
finally
Free;
end;
......
end;
是不是ShowModal方法在线程中无效?
procedure TMyThread.Execute;
begin
......
with TNewForm.Create(Application)do
try
ShowModal;
finally
Free;
end;
......
end;