[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'LResources' (#lcl)

TLazarusResourceStream

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Helper class for streaming resources (read only).

Declaration

Source position: lresources.pp line 84

type TLazarusResourceStream = class(TCustomMemoryStream) end;

public

  constructor Create();

  

Creates an resource stream for a named resource.

  constructor CreateFromID();

  

Creates an resource stream for a resource ID.

  constructor CreateFromHandle();

  

Creates an resource stream from an resource descriptor.

  destructor Destroy; override;

  function Write(); override;

  

Raises an error on an attempt to write to the stream.

  property Res: TLResource; [r]

  

The resource descriptor, owned by the global resource list.

Inheritance

TLazarusResourceStream

  

Helper class for streaming resources (read only).

|

TCustomMemoryStream

?

TObject

The latest version of this document can be found at lazarus-ccr.sourceforge.net.