Changeset 513 for Common/Demo/JobProgressView/UFormMain.pas
- Timestamp:
- Apr 19, 2018, 5:07:40 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Common/Demo/JobProgressView/UFormMain.pas
r512 r513 11 11 type 12 12 13 { TForm 1}13 { TFormMain } 14 14 15 TForm 1= class(TForm)15 TFormMain = class(TForm) 16 16 ButtonTest: TButton; 17 17 CheckBoxAutoClose: TCheckBox; … … 32 32 33 33 var 34 Form 1: TForm1;34 FormMain: TFormMain; 35 35 36 36 implementation … … 38 38 {$R *.lfm} 39 39 40 { TForm 1}40 { TFormMain } 41 41 42 procedure TForm 1.ButtonTestClick(Sender: TObject);42 procedure TFormMain.ButtonTestClick(Sender: TObject); 43 43 var 44 44 I: Integer; 45 45 begin 46 ButtonTest.Enabled := False; 46 47 with JobProgressView1 do begin 47 48 AutoClose := CheckBoxAutoClose.Checked; … … 52 53 Start; 53 54 end; 55 ButtonTest.Enabled := True; 54 56 end; 55 57 56 procedure TForm 1.JobMethod(Job: TJob);58 procedure TFormMain.JobMethod(Job: TJob); 57 59 var 58 60 Count: Integer;
Note:
See TracChangeset
for help on using the changeset viewer.