procedure TMyThread.Execute;
var
Msg: TMsg;
begin
while GetMessage(Msg, 0, 0, 0) = True do
begin
Form3.Caption := '';
end;
end;procedure TForm3.FormCreate(Sender: TObject);
begin
MyThread := TMyThread.Create(False);
end;你们用F7单步执行看看,为什么编译器不让执行.如果按F9来运行就不会.不明白
var
Msg: TMsg;
begin
while GetMessage(Msg, 0, 0, 0) = True do
begin
Form3.Caption := '';
end;
end;procedure TForm3.FormCreate(Sender: TObject);
begin
MyThread := TMyThread.Create(False);
end;你们用F7单步执行看看,为什么编译器不让执行.如果按F9来运行就不会.不明白
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货