vari:Integerprogress1.maxvalue=qoury1.recordcountFor i=0 to qoury1.recordcount-1beginprogress1.vaue=iqoury1.nextend
(14-12-2018, 07:09 PM)Delphi4Us كتب : [ -> ]PHP كود :vari:Integerprogress1.maxvalue=qoury1.recordcountFor i=0 to qoury1.recordcount-1beginprogress1.vaue=iqoury1.nextend
procedure TForm1.Button1Click(Sender: TObject);begin FDQuery1.Active := True; ProgressBar1.Position := ProgressBar1.Max;end;procedure TForm1.FDQuery1AfterGetRecord(DataSet: TFDDataSet);begin ProgressBar1.StepBy(1);end;