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

Reference for unit 'LResources'

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

uses

  System,

  Classes,

  

  SysUtils,

  

  Types,

  RtlConsts,

  TypInfo,

  

  variants,

  LCLProc,

  

Useful lower level helper functions and classes

  LCLStrConsts,

  

This unit contains all resource strings of the LCL

  LazConfigStorage,

  FPCAdds,

  DynQueue,

  LazUTF8,

  LazUTF8Classes;

Overview

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

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.

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