我在运用Progressbar中程序出错,请帮改正!
begin
progressbar1:=tprogressbar.create(Self);
try
progressbar1.parent:=self;
progressbar1.Align:=albottom;
progressbar1.min:=0;
progressbar1.max:=total;
progressbar1.step:=stepq;
FOR I:=1 TO TOTAL DO PROGRESSBAR1.stepit;
showmessage('ok');
finally
progressbar1.free;
end;
end;
出现undeclared indentifier"self"的错误
begin
progressbar1:=tprogressbar.create(Self);
try
progressbar1.parent:=self;
progressbar1.Align:=albottom;
progressbar1.min:=0;
progressbar1.max:=total;
progressbar1.step:=stepq;
FOR I:=1 TO TOTAL DO PROGRESSBAR1.stepit;
showmessage('ok');
finally
progressbar1.free;
end;
end;
出现undeclared indentifier"self"的错误
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货