Ignore:
Timestamp:
Nov 19, 2012, 2:47:07 PM (12 years ago)
Author:
chronos
Message:
  • Fixed: Wrong memory inicialization in TListObject results in error during other object assignment.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Generics/TemplateGenerics/Generic/GenericFileList.inc

    r426 r441  
    1515    procedure SetFileName(const Value: string);
    1616    procedure SetMode(const Value: Word);
     17    function GetOpenned: Boolean;
    1718  public
    1819    constructor Create; override;
     
    2223    property FileName: string read FFileName write SetFileName;
    2324    property Mode: Word read FMode write SetMode;
     25    property Openned: Boolean read GetOpenned;
    2426  end;
    2527
     
    8183end;
    8284
     85function TGFileList.GetOpenned: Boolean;
     86begin
     87  Result := FHandle <> feInvalidHandle;
     88end;
    8389
    8490{$UNDEF IMPLEMENTATION}
Note: See TracChangeset for help on using the changeset viewer.