Changeset 45 for trunk/Forms/UFormImportPattern.pas
- Timestamp:
- Jul 15, 2016, 12:38:46 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormImportPattern.pas
r28 r45 45 45 procedure TFormImportPattern.FormShow(Sender: TObject); 46 46 begin 47 InitControls; 47 48 end; 48 49 … … 56 57 I: TImportPatternFlag; 57 58 J: TImportVariable; 59 Index: Integer; 58 60 begin 61 Index := ComboBoxAction.ItemIndex; 59 62 while ComboBoxAction.Items.Count > 0 do 60 63 ComboBoxAction.Items.Delete(ComboBoxAction.Items.Count - 1); … … 63 66 for I := Low(TImportPatternFlag) to High(TImportPatternFlag) do 64 67 ComboBoxAction.Items[Integer(I)] := ImportPatternFlagString[I]; 68 ComboBoxAction.ItemIndex := Index; 65 69 70 Index := ComboBoxVariable.ItemIndex; 66 71 ComboBoxVariable.Items.Clear; 67 72 while ComboBoxVariable.Items.Count > 0 do … … 71 76 for J := Low(TImportVariable) to High(TImportVariable) do 72 77 ComboBoxVariable.Items[Integer(J)] := ImportVariableString[J]; 78 ComboBoxVariable.ItemIndex := Index; 73 79 end; 74 80
Note:
See TracChangeset
for help on using the changeset viewer.