Changeset 81 for branches/Transpascal/Forms/UMainForm.pas
- Timestamp:
- Oct 22, 2010, 4:16:35 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Transpascal/Forms/UMainForm.pas
r78 r81 30 30 Button1: TButton; 31 31 CheckBoxLogParsing: TCheckBox; 32 ComboBoxAnalyzerType: TComboBox; 32 33 ComboBoxTargetSelection: TComboBox; 33 34 CoolDockClient1: TCoolDockClient; 34 35 CoolDockMaster1: TCoolDockMaster; 36 Label1: TLabel; 37 Label2: TLabel; 35 38 MainMenu1: TMainMenu; 36 39 MenuItem1: TMenuItem; … … 162 165 ComboBoxTargetSelection.ItemIndex := 163 166 ReadIntegerWithDefault('ProducerType', 0); 167 ComboBoxAnalyzerType.ItemIndex := 168 ReadIntegerWithDefault('AnalyzerType', 0); 164 169 CheckBoxLogParsing.Checked := ReadBoolWithDefault('LogParsing', False); 165 170 finally … … 177 182 WriteBool('ReopenLastOpenedFile', ReopenLastOpenedFile); 178 183 WriteInteger('ProducerType', ComboBoxTargetSelection.ItemIndex); 184 WriteInteger('AnalyzerType', ComboBoxAnalyzerType.ItemIndex); 179 185 WriteBool('LogParsing', CheckBoxLogParsing.Checked); 180 186 finally … … 203 209 var 204 210 ProducerType: TProducerType; 211 AnalyzerType: TAnalyzerType; 205 212 begin 206 213 DebugLog.FileName := 'DebugLog.txt'; … … 215 222 for ProducerType := Low(ProducerType) to High(ProducerType) do 216 223 ComboBoxTargetSelection.AddItem(ProducerTypeName[ProducerType], nil); 224 ComboBoxAnalyzerType.Clear; 225 for AnalyzerType := Low(AnalyzerType) to High(AnalyzerType) do 226 ComboBoxAnalyzerType.AddItem(AnalyzerTypeName[AnalyzerType], nil); 217 227 end; 218 228
Note:
See TracChangeset
for help on using the changeset viewer.