Changeset 22 for trunk/Forms/UFormImportSources.pas
- Timestamp:
- May 4, 2016, 11:43:42 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormImportSources.pas
r20 r22 15 15 TFormImportSources = class(TForm) 16 16 AAdd: TAction; 17 AProcess: TAction; 17 18 ActionList1: TActionList; 18 19 AModify: TAction; … … 22 23 MenuItem2: TMenuItem; 23 24 MenuItem3: TMenuItem; 25 MenuItem4: TMenuItem; 24 26 PopupMenuImportSource: TPopupMenu; 25 27 procedure AAddExecute(Sender: TObject); 26 28 procedure AModifyExecute(Sender: TObject); 29 procedure AProcessExecute(Sender: TObject); 27 30 procedure ARemoveExecute(Sender: TObject); 28 31 procedure FormShow(Sender: TObject); … … 50 53 51 54 resourcestring 52 SImportSource = 'Import source';53 SImportSourceQuery = 'Enter name of import source';54 55 SRemoveImportSource = 'Remove import sources'; 55 56 SRemoveImportSourceQuery = 'Do you really want to remove selected import sources?'; … … 143 144 end; 144 145 146 procedure TFormImportSources.AProcessExecute(Sender: TObject); 147 begin 148 if Assigned(ListView1.Selected) then 149 TImportSource(ListView1.Selected.Data).Process; 150 end; 151 145 152 procedure TFormImportSources.ARemoveExecute(Sender: TObject); 146 153 var
Note:
See TracChangeset
for help on using the changeset viewer.