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

Reference for unit 'LResources'

Maintains a global list of Lazarus resources, and provides methods and types used to stream components.

uses

  Classes,

  sysutils,

  Types,

  RtlConsts,

  TypInfo,

  Variants,

  LCLProc,

  

Useful lower-level helper functions and classes.

  LCLStrConsts,

  

Contains resource strings used in the LCL.

  LazConfigStorage,

  FPCAdds,

  DynQueue,

  LazUTF8,

  LazLoggerBase;

Overview

lresources.pp maintains and stores all standard Lazarus resources in the global LazarusResources list and provides methods and types for component streaming.

A Lazarus resource is streamed as an UTF-8 string, with a name, value and value type.

Lazarus resources are normally included via an include directive in the initialization part of a unit. To create such include files use the BinaryToLazarusResourceCode procedure.

To create an LRS file from an LFM file use the LFMtoLRSfile function which transforms the LFM text to binary format and stores it as Lazarus resource include file.

Author: Mattias Gaertner

lresources.pp is part of the Lazarus Component Library (LCL).


Version 3.2 Generated 2024-02-25 Home