Changeset 365 for trunk/Packages
- Timestamp:
- Jan 2, 2025, 2:29:10 PM (3 weeks ago)
- Location:
- trunk/Packages/Common/Forms
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/Common/Forms/FormAbout.lfm
r315 r365 1 1 object FormAbout: TFormAbout 2 2 Left = 624 3 Height = 4023 Height = 397 4 4 Top = 622 5 Width = 7 025 Width = 714 6 6 Caption = 'About' 7 ClientHeight = 4028 ClientWidth = 7 027 ClientHeight = 397 8 ClientWidth = 714 9 9 DesignTimePPI = 144 10 10 OnShow = FormShow 11 11 Position = poScreenCenter 12 LCLVersion = ' 2.2.6.0'12 LCLVersion = '3.6.0.0' 13 13 object LabelDescription: TLabel 14 14 Left = 30 15 15 Height = 26 16 Top = 13517 Width = 6 4216 Top = 0 17 Width = 654 18 18 Align = alTop 19 19 BorderSpacing.Left = 30 … … 28 28 Left = 30 29 29 Height = 26 30 Top = 19131 Width = 6 4230 Top = 221 31 Width = 654 32 32 Align = alTop 33 33 BorderSpacing.Around = 30 … … 39 39 Left = 0 40 40 Height = 135 41 Top = 042 Width = 7 0241 Top = 56 42 Width = 714 43 43 Align = alTop 44 44 BevelOuter = bvNone 45 45 ClientHeight = 135 46 ClientWidth = 7 0246 ClientWidth = 714 47 47 FullRepaint = False 48 48 ParentFont = False … … 52 52 Height = 84 53 53 Top = 20 54 Width = 5 6454 Width = 576 55 55 Anchors = [akTop, akLeft, akRight] 56 56 AutoSize = False … … 74 74 Left = 0 75 75 Height = 75 76 Top = 32 777 Width = 7 0276 Top = 322 77 Width = 714 78 78 Align = alBottom 79 79 BevelOuter = bvNone 80 80 ClientHeight = 75 81 ClientWidth = 7 0281 ClientWidth = 714 82 82 TabOrder = 1 83 83 object ButtonHomePage: TButton … … 88 88 Anchors = [akLeft, akBottom] 89 89 Caption = 'Home page' 90 OnClick = ButtonHomePageClick91 90 ParentFont = False 92 91 TabOrder = 0 92 OnClick = ButtonHomePageClick 93 93 end 94 94 object ButtonClose: TButton 95 Left = 5 3195 Left = 543 96 96 Height = 38 97 97 Top = 24 -
trunk/Packages/Common/Forms/FormItem.lfm
r355 r365 10 10 OnCreate = FormCreate 11 11 OnDestroy = FormDestroy 12 LCLVersion = '3. 4.0.0'12 LCLVersion = '3.6.0.0' 13 13 object ButtonOk: TButton 14 Left = 34414 Left = 224 15 15 Height = 38 16 16 Top = 353 … … 24 24 end 25 25 object ButtonCancel: TButton 26 Left = 20826 Left = 348 27 27 Height = 38 28 28 Top = 353 -
trunk/Packages/Common/Forms/FormKeyShortcuts.lfm
r362 r365 1 1 object FormKeyShortcuts: TFormKeyShortcuts 2 2 Left = 839 3 Height = 2743 Height = 329 4 4 Top = 609 5 Width = 5875 Width = 704 6 6 Caption = 'Key shortcuts' 7 ClientHeight = 2748 ClientWidth = 5879 DesignTimePPI = 1 207 ClientHeight = 329 8 ClientWidth = 704 9 DesignTimePPI = 144 10 10 OnCreate = FormCreate 11 11 OnDestroy = FormDestroy … … 13 13 LCLVersion = '3.6.0.0' 14 14 object ListView1: TListView 15 Left = 816 Height = 2 1217 Top = 818 Width = 57115 Left = 10 16 Height = 262 17 Top = 10 18 Width = 684 19 19 Align = alTop 20 20 Anchors = [akTop, akLeft, akRight, akBottom] 21 BorderSpacing.Around = 821 BorderSpacing.Around = 10 22 22 Columns = < 23 23 item 24 24 Caption = 'Action' 25 Width = 2 0025 Width = 240 26 26 end 27 27 item 28 28 Caption = 'Window' 29 Width = 2 0029 Width = 240 30 30 end 31 31 item 32 32 Caption = 'Shortcut' 33 Width = 1 6633 Width = 199 34 34 end> 35 35 OwnerData = True … … 44 44 end 45 45 object ButtonClose: TButton 46 Left = 48547 Height = 3 148 Top = 2 3249 Width = 9446 Left = 581 47 Height = 37 48 Top = 284 49 Width = 113 50 50 Anchors = [akRight, akBottom] 51 51 Caption = 'Close' … … 55 55 end 56 56 object PopupMenu1: TPopupMenu 57 Left = 34058 Top = 1 2057 Left = 408 58 Top = 144 59 59 object MenuItem1: TMenuItem 60 60 Caption = 'Execute' … … 67 67 Column = 0 68 68 Order = soNone 69 Left = 18470 Top = 1 2069 Left = 221 70 Top = 144 71 71 end 72 72 end -
trunk/Packages/Common/Forms/FormTest.lfm
r315 r365 8 8 ClientWidth = 865 9 9 DesignTimePPI = 144 10 LCLVersion = '2.2.6.0' 10 OnShow = FormShow 11 LCLVersion = '3.6.0.0' 11 12 object MemoLog: TMemo 12 13 Left = 8 13 Height = 50514 Height = 464 14 15 Top = 8 15 16 Width = 849 16 Align = alClient 17 Align = alTop 18 Anchors = [akTop, akLeft, akRight, akBottom] 17 19 BorderSpacing.Around = 8 18 20 ReadOnly = True … … 20 22 TabOrder = 0 21 23 end 24 object ButtonRun: TButton 25 Left = 616 26 Height = 37 27 Top = 480 28 Width = 112 29 Anchors = [akRight, akBottom] 30 Caption = 'Run' 31 TabOrder = 1 32 OnClick = ButtonRunClick 33 end 34 object ButtonClose: TButton 35 Left = 745 36 Height = 37 37 Top = 480 38 Width = 112 39 Anchors = [akRight, akBottom] 40 Caption = 'Close' 41 ModalResult = 11 42 TabOrder = 2 43 OnClick = ButtonRunClick 44 end 22 45 end -
trunk/Packages/Common/Forms/FormTest.lrj
r315 r365 1 1 {"version":1,"strings":[ 2 {"hash":371876,"name":"tformtest.caption","sourcebytes":[84,101,115,116],"value":"Test"} 2 {"hash":371876,"name":"tformtest.caption","sourcebytes":[84,101,115,116],"value":"Test"}, 3 {"hash":22974,"name":"tformtest.buttonrun.caption","sourcebytes":[82,117,110],"value":"Run"}, 4 {"hash":4863637,"name":"tformtest.buttonclose.caption","sourcebytes":[67,108,111,115,101],"value":"Close"} 3 5 ]} -
trunk/Packages/Common/Forms/FormTest.pas
r315 r365 4 4 5 5 uses 6 Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, FormEx; 6 Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, FormEx, 7 TestCase; 7 8 8 9 type … … 11 12 12 13 TFormTest = class(TFormEx) 14 ButtonRun: TButton; 15 ButtonClose: TButton; 13 16 MemoLog: TMemo; 17 procedure FormShow(Sender: TObject); 18 procedure ButtonRunClick(Sender: TObject); 19 private 20 FTestCase: TTestCase; 21 procedure SetTestCase(AValue: TTestCase); 22 public 23 property TestCase: TTestCase read FTestCase write SetTestCase; 14 24 end; 15 25 … … 19 29 {$R *.lfm} 20 30 31 { TFormTest } 32 33 procedure TFormTest.FormShow(Sender: TObject); 34 begin 35 if Assigned(FTestCase) then MemoLog.Text := FTestCase.Log; 36 end; 37 38 procedure TFormTest.SetTestCase(AValue: TTestCase); 39 begin 40 if FTestCase = AValue then Exit; 41 FTestCase := AValue; 42 end; 43 44 procedure TFormTest.ButtonRunClick(Sender: TObject); 45 begin 46 if Assigned(FTestCase) then begin 47 FTestCase.Run; 48 MemoLog.Text := FTestCase.Log; 49 end; 50 end; 51 21 52 end. 22 53 -
trunk/Packages/Common/Forms/FormTests.lfm
r315 r365 9 9 DesignTimePPI = 144 10 10 OnShow = FormShow 11 LCLVersion = ' 2.2.6.0'11 LCLVersion = '3.6.0.0' 12 12 object ListViewTestCases: TListView 13 13 Left = 19 … … 36 36 end 37 37 object ButtonRun: TButton 38 Left = 94538 Left = 816 39 39 Height = 37 40 40 Top = 585 … … 42 42 Anchors = [akRight, akBottom] 43 43 Caption = 'Run' 44 TabOrder = 1 44 45 OnClick = ButtonRunClick 45 TabOrder = 146 46 end 47 47 object LabelResult: TLabel … … 53 53 Caption = ' ' 54 54 ParentColor = False 55 end 56 object ButtonClose: TButton 57 Left = 945 58 Height = 37 59 Top = 585 60 Width = 112 61 Anchors = [akRight, akBottom] 62 Caption = 'Close' 63 ModalResult = 11 64 TabOrder = 2 65 OnClick = ButtonRunClick 55 66 end 56 67 object ActionList1: TActionList -
trunk/Packages/Common/Forms/FormTests.lrj
r315 r365 5 5 {"hash":22974,"name":"tformtests.buttonrun.caption","sourcebytes":[82,117,110],"value":"Run"}, 6 6 {"hash":8736,"name":"tformtests.labelresult.caption","sourcebytes":[32,32,32],"value":" "}, 7 {"hash":4863637,"name":"tformtests.buttonclose.caption","sourcebytes":[67,108,111,115,101],"value":"Close"}, 7 8 {"hash":368487,"name":"tformtests.ashow.caption","sourcebytes":[83,104,111,119],"value":"Show"}, 8 9 {"hash":22974,"name":"tformtests.arun.caption","sourcebytes":[82,117,110],"value":"Run"} -
trunk/Packages/Common/Forms/FormTests.pas
r315 r365 16 16 ActionList1: TActionList; 17 17 ButtonRun: TButton; 18 ButtonClose: TButton; 18 19 LabelResult: TLabel; 19 20 ListViewTestCases: TListView; … … 119 120 with TFormTest.Create(nil) do 120 121 try 121 MemoLog.Text := TTestCase(ListViewTestCases.Selected.Data).Log;122 TestCase := TTestCase(ListViewTestCases.Selected.Data); 122 123 ShowModal; 124 ReloadList; 123 125 finally 124 126 Free;
Note:
See TracChangeset
for help on using the changeset viewer.