Changeset 513 for Common/Demo
- Timestamp:
- Apr 19, 2018, 5:07:40 PM (7 years ago)
- Location:
- Common/Demo/JobProgressView
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Common/Demo/JobProgressView/JobProgressViewDemo.lpi
r512 r513 80 80 <Filename Value="UFormMain.pas"/> 81 81 <IsPartOfProject Value="True"/> 82 <ComponentName Value="Form 1"/>82 <ComponentName Value="FormMain"/> 83 83 <ResourceBaseClass Value="Form"/> 84 84 </Unit1> -
Common/Demo/JobProgressView/JobProgressViewDemo.lpr
r512 r513 16 16 RequireDerivedFormResource:=True; 17 17 Application.Initialize; 18 Application.CreateForm(TForm 1, Form1);18 Application.CreateForm(TFormMain, FormMain); 19 19 Application.Run; 20 20 end. -
Common/Demo/JobProgressView/UFormMain.lfm
r512 r513 1 object Form 1: TForm12 Left = 5 151 object FormMain: TFormMain 2 Left = 501 3 3 Height = 480 4 Top = 2 524 Top = 296 5 5 Width = 743 6 6 Caption = 'JobProgressView demo' … … 89 89 ShowDelay = 0 90 90 AutoClose = False 91 left = 48 892 top = 7291 left = 480 92 top = 120 93 93 end 94 94 end -
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.