Declaration¶
Source position: dfmreader.pp line 36
type
TDfmResourceReader = class(TAbstractResourceReader)
protected
function GetExtensions : string;
function GetDescription : string;
procedure Load;
function CheckMagic : Boolean;
public
constructor Create;
destructor Destroy;
end;
Inheritance¶
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¶
| Member | Visibility | Description |
|---|---|---|
| CheckMagic | protected | |
| Create | public | |
| Destroy | public | |
| GetDescription | protected | |
| GetExtensions | protected | |
| Load | protected |