Sign in Join
FPDoc Onlineexperiment

TDfmResourceReader class

In unit dfmreader

DFM resource reader

Declaration

pascal
TDfmResourceReader = class(TAbstractResourceReader)

Inheritance

  1. TDfmResourceReader
  2. TAbstractResourceReader

Description

This class isn't a proper resource reader. It provides a quick way to create a resource file from a DFM/XFM/LFM file, similar to what Delphi does with constructs like {$R *.dfm}.

This class reads a DFM, XFM or LFM file, compiles it to binary format if it isn't, and stores it in a resource of type RT_RCDATA with the name of the form specified in the DFM file.

Methods

GetExtensionsprotectedReturns the extensions the reader is registered for
GetDescriptionprotectedReturns the description of the reader
LoadprotectedLoads resources from a stream
CheckMagicprotectedChecks whether a stream is in a format the reader recognizes
CreatepublicCreates a new reader object
Destroypublic

Inherited

From TAbstractResourceReader (9)

AddNoTree CallSubReaderLoad Description Extensions GetTree SetDataOffset SetDataSize SetHeaderSize SetRawData

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.