照着李维的书上做的!!可是ADODataSet1FetchProgress和ADODataSet1FetchComplete根本就没有执行呀!!!procedure TForm1.ADODataSet1FetchProgress(DataSet: TCustomADODataSet;
Progress, MaxProgress: Integer; var EventStatus: TEventStatus);
begin
ShowMessage('hello');
ProgressBar1.Position := Progress;
end;procedure TForm1.ADODataSet1FetchComplete(DataSet: TCustomADODataSet;
const Error: Error; var EventStatus: TEventStatus);
begin
le := GetTickCount;
ShowMessage('一共花了'+FloatToStr((le - ls)/1000.0) + '秒');
end;
Progress, MaxProgress: Integer; var EventStatus: TEventStatus);
begin
ShowMessage('hello');
ProgressBar1.Position := Progress;
end;procedure TForm1.ADODataSet1FetchComplete(DataSet: TCustomADODataSet;
const Error: Error; var EventStatus: TEventStatus);
begin
le := GetTickCount;
ShowMessage('一共花了'+FloatToStr((le - ls)/1000.0) + '秒');
end;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货