- Timestamp:
- Aug 1, 2016, 11:00:05 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormImportSources.lfm
r69 r72 10 10 OnShow = FormShow 11 11 Position = poScreenCenter 12 LCLVersion = '1. 6.0.4'12 LCLVersion = '1.7' 13 13 object ListView1: TListView 14 14 Left = 8 … … 37 37 item 38 38 Caption = 'Date' 39 Width = 10 039 Width = 108 40 40 end> 41 41 MultiSelect = True … … 108 108 ImageIndex = 5 109 109 OnExecute = AProcessExecute 110 end 111 object AEnable: TAction 112 Caption = 'Enable' 113 OnExecute = AEnableExecute 114 end 115 object ADisable: TAction 116 Caption = 'Disable' 117 OnExecute = ADisableExecute 110 118 end 111 119 end … … 270 278 } 271 279 end 280 object MenuItem6: TMenuItem 281 Action = AEnable 282 end 283 object MenuItem5: TMenuItem 284 Action = ADisable 285 end 272 286 end 273 287 object JobProgressView1: TJobProgressView -
trunk/Forms/UFormImportSources.lrt
r52 r72 10 10 TFORMIMPORTSOURCES.AMODIFY.CAPTION=Modify 11 11 TFORMIMPORTSOURCES.APROCESS.CAPTION=Process 12 TFORMIMPORTSOURCES.AENABLE.CAPTION=Enable 13 TFORMIMPORTSOURCES.ADISABLE.CAPTION=Disable -
trunk/Forms/UFormImportSources.pas
r56 r72 15 15 TFormImportSources = class(TForm) 16 16 AAdd: TAction; 17 AEnable: TAction; 18 ADisable: TAction; 17 19 AProcess: TAction; 18 20 ActionList1: TActionList; … … 25 27 MenuItem3: TMenuItem; 26 28 MenuItem4: TMenuItem; 29 MenuItem5: TMenuItem; 30 MenuItem6: TMenuItem; 27 31 PopupMenuImportSource: TPopupMenu; 28 32 ToolBar1: TToolBar; … … 32 36 ToolButton4: TToolButton; 33 37 procedure AAddExecute(Sender: TObject); 38 procedure ADisableExecute(Sender: TObject); 39 procedure AEnableExecute(Sender: TObject); 34 40 procedure AModifyExecute(Sender: TObject); 35 41 procedure AProcessExecute(Sender: TObject); … … 131 137 end; 132 138 if Assigned(NewImportSource) then NewImportSource.Free; 139 end; 140 141 procedure TFormImportSources.ADisableExecute(Sender: TObject); 142 var 143 I: Integer; 144 begin 145 for I := ListView1.Items.Count - 1 downto 0 do 146 if ListView1.Items[I].Selected then 147 TImportSource(ListView1.Items[I].Data).Enabled := False; 148 UpdateList; 149 end; 150 151 procedure TFormImportSources.AEnableExecute(Sender: TObject); 152 var 153 I: Integer; 154 begin 155 for I := ListView1.Items.Count - 1 downto 0 do 156 if ListView1.Items[I].Selected then 157 TImportSource(ListView1.Items[I].Data).Enabled := True; 158 UpdateList; 133 159 end; 134 160 -
trunk/Languages/AcronymDecoder.cs.po
r70 r72 10 10 "Content-Transfer-Encoding: 8bit\n" 11 11 "Language: cs\n" 12 "X-Generator: Poedit 1.8. 8\n"12 "X-Generator: Poedit 1.8.7.1\n" 13 13 14 14 #: tformabout.buttonclose.caption … … 407 407 msgstr "Přidat" 408 408 409 #: tformimportsources.adisable.caption 410 msgid "Disable" 411 msgstr "Zakázat" 412 413 #: tformimportsources.aenable.caption 414 msgid "Enable" 415 msgstr "Povolit" 416 409 417 #: tformimportsources.amodify.caption 410 418 msgctxt "tformimportsources.amodify.caption" -
trunk/Languages/AcronymDecoder.po
r70 r72 397 397 msgstr "" 398 398 399 #: tformimportsources.adisable.caption 400 msgid "Disable" 401 msgstr "" 402 403 #: tformimportsources.aenable.caption 404 msgid "Enable" 405 msgstr "" 406 399 407 #: tformimportsources.amodify.caption 400 408 msgctxt "TFORMIMPORTSOURCES.AMODIFY.CAPTION"
Note:
See TracChangeset
for help on using the changeset viewer.