Ignore:
Timestamp:
Jul 17, 2012, 7:25:56 AM (12 years ago)
Author:
chronos
Message:
  • Added: Target celection combobox on main toolbar.
  • Added: Options of available targets allow to change producer and executor path if available.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Compiler/UTarget.pas

    r50 r60  
    2626  TListTarget = class(TListObject)
    2727    function SearchBySysName(Name: string): TTarget;
     28    procedure LoadToStrings(Strings: TStrings);
    2829  end;
    2930
     
    5758end;
    5859
     60procedure TListTarget.LoadToStrings(Strings: TStrings);
     61var
     62  I: Integer;
     63begin
     64  try
     65    Strings.BeginUpdate;
     66    Strings.Clear;
     67    for I := 0 to Count - 1 do
     68      Strings.AddObject(TTarget(Items[I]).Name, Items[I]);
     69  finally
     70    Strings.EndUpdate;
     71  end;
     72end;
     73
    5974end.
    6075
Note: See TracChangeset for help on using the changeset viewer.