Changeset 272 for trunk/Forms
- Timestamp:
- Jan 29, 2019, 11:05:47 PM (6 years ago)
- Location:
- trunk/Forms
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMove.lfm
r243 r272 1 1 object FormMove: TFormMove 2 2 Left = 435 3 Height = 2 574 Top = 1 655 Width = 3673 Height = 278 4 Top = 153 5 Width = 421 6 6 ActiveControl = ButtonOk 7 7 Caption = 'Move' 8 ClientHeight = 2 579 ClientWidth = 36710 Constraints.MinHeight = 2 5711 Constraints.MinWidth = 36712 DesignTimePPI = 1 208 ClientHeight = 278 9 ClientWidth = 421 10 Constraints.MinHeight = 278 11 Constraints.MinWidth = 421 12 DesignTimePPI = 144 13 13 OnClose = FormClose 14 14 OnCreate = FormCreate … … 16 16 OnShow = FormShow 17 17 Position = poMainFormCenter 18 LCLVersion = '1.8. 2.0'18 LCLVersion = '1.8.4.0' 19 19 object SpinEditOnce: TSpinEdit 20 20 Left = 208 21 Height = 2821 Height = 43 22 22 Top = 40 23 23 Width = 98 … … 28 28 object Label1: TLabel 29 29 Left = 16 30 Height = 2 030 Height = 26 31 31 Top = 40 32 Width = 3732 Width = 49 33 33 Caption = 'Once:' 34 34 ParentColor = False 35 35 end 36 36 object ButtonOk: TButton 37 Left = 18938 Height = 2537 Left = 296 38 Height = 38 39 39 Top = 224 40 Width = 7540 Width = 100 41 41 Caption = 'Ok' 42 42 Default = True … … 45 45 end 46 46 object ButtonCancel: TButton 47 Left = 7248 Height = 2547 Left = 176 48 Height = 38 49 49 Top = 224 50 Width = 7550 Width = 100 51 51 Caption = 'Cancel' 52 52 ModalResult = 2 … … 55 55 object Label2: TLabel 56 56 Left = 24 57 Height = 2 057 Height = 26 58 58 Top = 136 59 Width = 6859 Width = 91 60 60 Caption = 'Every turn:' 61 61 ParentColor = False … … 63 63 object SpinEditRepeat: TSpinEdit 64 64 Left = 208 65 Height = 2865 Height = 43 66 66 Top = 128 67 67 Width = 98 … … 71 71 end 72 72 object TrackBarOnce: TTrackBar 73 Left = 5674 Height = 4773 Left = 88 74 Height = 58 75 75 Top = 80 76 Width = 2 5576 Width = 245 77 77 OnChange = TrackBarOnceChange 78 78 PageSize = 1 … … 84 84 end 85 85 object TrackBarRepeat: TTrackBar 86 Left = 5687 Height = 4786 Left = 96 87 Height = 58 88 88 Top = 168 89 Width = 2 5589 Width = 231 90 90 OnChange = TrackBarRepeatChange 91 91 PageSize = 1 … … 98 98 object ButtonOnceMin: TButton 99 99 Left = 8 100 Height = 25100 Height = 38 101 101 Top = 88 102 Width = 48102 Width = 80 103 103 Caption = 'Min' 104 104 OnClick = ButtonOnceMinClick … … 106 106 end 107 107 object ButtonOnceMax: TButton 108 Left = 3 11109 Height = 25108 Left = 333 109 Height = 38 110 110 Top = 88 111 Width = 48111 Width = 80 112 112 Anchors = [akTop, akRight] 113 113 Caption = 'Max' … … 117 117 object ButtonRepeatMin: TButton 118 118 Left = 8 119 Height = 25119 Height = 38 120 120 Top = 176 121 Width = 48121 Width = 80 122 122 Caption = 'Min' 123 123 OnClick = ButtonRepeatMinClick … … 125 125 end 126 126 object ButtonRepeatMax: TButton 127 Left = 3 11128 Height = 25127 Left = 333 128 Height = 38 129 129 Top = 176 130 Width = 48130 Width = 80 131 131 Anchors = [akTop, akRight] 132 132 Caption = 'Max' … … 136 136 object Label3: TLabel 137 137 Left = 16 138 Height = 2 0138 Height = 26 139 139 Top = 8 140 Width = 1 06140 Width = 135 141 141 Caption = 'Win probability:' 142 142 ParentColor = False … … 144 144 object LabelWinProbability: TLabel 145 145 Left = 264 146 Height = 2 0146 Height = 26 147 147 Top = 8 148 Width = 1 2148 Width = 15 149 149 Caption = ' ' 150 150 ParentColor = False 151 151 end 152 object ButtonRemove: TButton 153 Left = 48 154 Height = 38 155 Top = 224 156 Width = 100 157 Caption = 'Delete' 158 OnClick = ButtonRemoveClick 159 TabOrder = 10 160 end 152 161 end -
trunk/Forms/UFormMove.pas
r243 r272 14 14 15 15 TFormMove = class(TForm) 16 ButtonRemove: TButton; 16 17 ButtonRepeatMax: TButton; 17 18 ButtonOnceMin: TButton; … … 29 30 TrackBarRepeat: TTrackBar; 30 31 procedure ButtonOnceMaxClick(Sender: TObject); 32 procedure ButtonRemoveClick(Sender: TObject); 31 33 procedure ButtonRepeatMinClick(Sender: TObject); 32 34 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction); … … 112 114 end; 113 115 116 procedure TFormMove.ButtonRemoveClick(Sender: TObject); 117 begin 118 SpinEditOnce.Value := 0; 119 SpinEditRepeat.Value := 0; 120 ModalResult := mrOk; 121 end; 122 114 123 procedure TFormMove.ButtonRepeatMinClick(Sender: TObject); 115 124 begin
Note:
See TracChangeset
for help on using the changeset viewer.