The class could look like this:
Delphi-Quellcode:
TXyz = class
private
FFile: TFileStream;
public
property XyzFile: TFileStream read FFile write FFile;
procedure AddData(...);
procedure InsertData(...);
end;
Thank you Luckie , Could you please explain :
what s the Diff between Declaring FFile as global and Creating this New Class as long as the Result will remain the same : the Write / Read Operations will be focusing on the FFile .
and many thanks .