[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)

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;

  

Destructor for the class instance.

  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.

end;

Inheritance

TLazarusResourceStream

  

Helper class for streaming resources (read only).

|

TCustomMemoryStream

|

TStream

|

TObject


Version 3.2 Generated 2024-02-25 Home