Changeset 28 for trunk/Forms/UFormImportFormat.pas
- Timestamp:
- Jul 12, 2016, 4:28:22 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormImportFormat.pas
r27 r28 41 41 procedure AMoveUpExecute(Sender: TObject); 42 42 procedure ARemoveExecute(Sender: TObject); 43 procedure FormCreate(Sender: TObject); 43 44 procedure FormShow(Sender: TObject); 44 45 procedure ListViewItemRulesData(Sender: TObject; Item: TListItem); … … 54 55 var 55 56 FormImportFormat: TFormImportFormat; 57 YesNoString: array[Boolean] of string; 56 58 57 59 … … 66 68 SRemoveImportPattern = 'Remove import pattern'; 67 69 SRemoveImportPatternQuery = 'Do you really want to remove selected import patterns?'; 70 SYes = 'Yes'; 71 SNo = 'No'; 68 72 69 73 … … 135 139 end; 136 140 141 procedure TFormImportFormat.FormCreate(Sender: TObject); 142 begin 143 YesNoString[False] := SNo; 144 YesNoString[True] := SYes; 145 end; 146 137 147 procedure TFormImportFormat.FormShow(Sender: TObject); 138 148 begin … … 149 159 Item.SubItems.Add(ImportPatternFlagString[Flag]); 150 160 Item.SubItems.Add(ImportVariableString[Variable]); 161 Item.SubItems.Add(YesNoString[Repetition]); 151 162 Item.Data := ImportFormat.ItemPatterns[Item.Index]; 152 163 end;
Note:
See TracChangeset
for help on using the changeset viewer.