procedure TForm1.Button1Click(Sender: TObject);
var
i:integer ;
j:integer ;
m:integer ;
begin
edit1.Text :='';
i:=0;
while i<10 do
begin
i:=i+1;
for j:=0 to 50000 do
begin
for m:=0 to 50000 do
begin
end;
end;
edit1.Text :=edit1.Text + inttostr(i);
end
end;程序的效果出不来,edit1中循环-等待-添加数字
var
i:integer ;
j:integer ;
m:integer ;
begin
edit1.Text :='';
i:=0;
while i<10 do
begin
i:=i+1;
for j:=0 to 50000 do
begin
for m:=0 to 50000 do
begin
end;
end;
edit1.Text :=edit1.Text + inttostr(i);
end
end;程序的效果出不来,edit1中循环-等待-添加数字
解决方案 »
- 变量传递
- 请教:如何将octet string类型转换成string类型显示
- 关于托盘的老问题了,可是搜了所有的贴子也没解决,难道大家都没遇见过???
- 关于记录行的锁定问题
- 怎样调出windows系统的任务计划向导?
- 在delphi中chr(8),chr(12)是什么意思???
- 一个月没来了,给新老朋友散发以表道歉!
- 如何在控件的CAPTION中显示特殊格式的字符
- 如何获取js执行后的完整网页源代码?
- FMX项目一个ListBox(静态设计),其ListBoxItem都是按需要动态创建并用ListBox1->AddObject(lbi);添加的,每次
- 我的这个想法如何实现?关于DELPHI+ASP的
- 你认为我们国家有必要为“孝道”这个专题立法吗?
i:integer ;
j:integer ;
m:integer ;
begin
edit1.Text :='';
i:=0;
while i<10 do
begin
i:=i+1;
for j:=0 to 50000 do
begin
for m:=0 to 50000 do
begin
end;
end;
edit1.Text :=edit1.Text + inttostr(i);
application.ProcessMessages;
end
end;
但放错地方了把
procedure TForm1.Button1Click(Sender: TObject);
var
i:integer ;
j:integer ;
m:integer ;
begin
edit1.Text :='';
i:=0;
while i<10 do
begin
i:=i+1;
for j:=0 to 50000 do
begin
for m:=0 to 50000 do
begin
//应该放到这里来
application.ProcessMessages;
end;
end;
edit1.Text :=edit1.Text + inttostr(i);
end
end;