Changeset 26 for trunk/IDE/Forms
- Timestamp:
- Dec 8, 2010, 10:00:30 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IDE/Forms/UMainForm.pas
r25 r26 11 11 UProject, FileUtil, Menus, ActnList, UCoolDocking, 12 12 UCompiledForm, UCodeTreeForm, URegistry, ULastOpenedList, UApplicationInfo, 13 UDebugLog ;13 UDebugLog, UAnalyzer, UProducer; 14 14 15 15 const … … 97 97 if (ComboBoxAnalyzer.Items.Count > 0) and (ComboBoxAnalyzer.ItemIndex <> -1) and 98 98 (ComboBoxProducer.Items.Count > 0) and (ComboBoxProducer.ItemIndex <> -1) then begin 99 Compiler.Producer := Compiler.Producers[ComboBoxProducer.ItemIndex];100 Compiler.Analyzer := Compiler.Analyzers[ComboBoxAnalyzer.ItemIndex];99 Compiler.Producer := TProducer(Compiler.Producers[ComboBoxProducer.ItemIndex]); 100 Compiler.Analyzer := TAnalyzer(Compiler.Analyzers[ComboBoxAnalyzer.ItemIndex]); 101 101 Compiler.Analyzer.OnGetSource := GetSource; 102 102 Compiler.Init; … … 237 237 ComboBoxProducer.Clear; 238 238 for I := 0 to Compiler.Producers.Count - 1 do 239 ComboBoxProducer.AddItem( Compiler.Producers[I].Name, nil);239 ComboBoxProducer.AddItem(TProducer(Compiler.Producers[I]).Name, nil); 240 240 241 241 ComboBoxAnalyzer.Clear; 242 242 for I := 0 to Compiler.Analyzers.Count - 1 do 243 ComboBoxAnalyzer.AddItem( Compiler.Analyzers[I].Name, nil);243 ComboBoxAnalyzer.AddItem(TAnalyzer(Compiler.Analyzers[I]).Name, nil); 244 244 end; 245 245
Note:
See TracChangeset
for help on using the changeset viewer.