Changeset 73 for trunk/UAcronym.pas


Ignore:
Timestamp:
Aug 2, 2016, 11:21:21 AM (8 years ago)
Author:
chronos
Message:
  • Added: Text filtering in list of import sources.
  • Fixed: Now checkboxes in list of import sources are visible and working for enabling item.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UAcronym.pas

    r69 r73  
    178178    URL: string;
    179179    Format: TImportFormat;
    180     LastTime: TDateTime;
    181180    Sources: TImportSources;
    182181    ItemCount: Integer;
     
    204203    procedure SaveToNode(Node: TDOMNode);
    205204    procedure LoadFromNode(Node: TDOMNode);
     205    procedure AssignToList(List: TListObject);
    206206  end;
    207207
     
    547547end;
    548548
     549procedure TImportSources.AssignToList(List: TListObject);
     550var
     551  I: Integer;
     552begin
     553  List.Clear;
     554  for I := 0 to Count - 1 do
     555    List.Add(TImportSource(Items[I]))
     556end;
     557
    549558procedure TImportSource.Process;
    550559begin
     
    771780  URL := Source.URL;
    772781  Format := Source.Format;
    773   LastTime := Source.LastTime;
    774782  ItemCount := Source.ItemCount;
    775783  Categories.Assign(Source.Categories);
Note: See TracChangeset for help on using the changeset viewer.