Reference Codebot.Frame.Lfm.pas
Part of the Codebot Frame Design package
The Codebot.Frame.Lfm unit reads the text of a form file into a tree of TLfmObject objects, one for each component, each with its TLfmProperty properties and its child components.
A simple value, such as a number, string, identifier, or set, is kept as Pascal source, so it can be written into code just as it is. The lines of a list, the hexadecimal text of binary data, and the items of a collection are kept separately. Each property also keeps its text as it appears in the form file, so a property that cannot be written as code can be converted to binary form and stored as a resource.
ParseLfm reads the text of a form file and returns its root object. If the text cannot be read, it raises ELfmError with the line number.
Items 32 items
| Name | Kind | Line |
|---|---|---|
| ELfmError | class | 93 |
| ParseLfm | function | 96 |
| TLfmItem | class | 60 |
| Properties | field | 63 |
| Create | constructor | 64 |
| Destroy | destructor | 65 |
| TLfmObject | class | 70 |
| Children | field | 84 |
| IsInherited | field | 78 |
| IsInline | field | 76 |
| Name | field | 72 |
| Parent | field | 80 |
| Properties | field | 82 |
| TypeName | field | 74 |
| Create | constructor | 85 |
| Destroy | destructor | 86 |
| FindProperty | function | 88 |
| TLfmProperty | class | 38 |
| CollectionItems | field | 51 |
| IsIdent | field | 47 |
| Items | field | 49 |
| Kind | field | 42 |
| Name | field | 41 |
| Source | field | 53 |
| Value | field | 44 |
| Create | constructor | 54 |
| Destroy | destructor | 55 |
| TLfmValueKind | enum | 26 |
| lvSimple | enum value | 28 |
| lvList | enum value | 30 |
| lvBinary | enum value | 32 |
| lvCollection | enum value | 34 |