Changeset 31 for trunk/Forms/UCompilersForm.pas
- Timestamp:
- Feb 18, 2012, 8:02:50 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UCompilersForm.pas
r25 r31 31 31 32 32 uses 33 UMainForm, U Compiler;33 UMainForm, UTarget; 34 34 35 35 resourcestring … … 46 46 procedure TFormCompilers.ListView1Data(Sender: TObject; Item: TListItem); 47 47 begin 48 if (Item.Index >= 0) and (Item.Index < MainForm. Compilers.Count) then49 with T BrainFuckCompiler(MainForm.Compilers[Item.Index]) do begin48 if (Item.Index >= 0) and (Item.Index < MainForm.Targets.Count) then 49 with TTarget(MainForm.Targets[Item.Index]) do begin 50 50 Item.Caption := Name; 51 Item.Data := MainForm. Compilers[Item.Index];51 Item.Data := MainForm.Targets[Item.Index]; 52 52 Item.SubItems.Add(CompilerPath); 53 53 end; … … 56 56 procedure TFormCompilers.ListView1DblClick(Sender: TObject); 57 57 begin 58 with T BrainFuckCompiler(ListView1.Selected.Data) do58 with TTarget(ListView1.Selected.Data) do 59 59 CompilerPath := InputBox(SCompilerOptions, SCompilerPath, 60 60 CompilerPath); … … 64 64 procedure TFormCompilers.ReloadList; 65 65 begin 66 ListView1.Items.Count := MainForm. Compilers.Count;66 ListView1.Items.Count := MainForm.Targets.Count; 67 67 ListView1.Refresh; 68 68 end;
Note:
See TracChangeset
for help on using the changeset viewer.