This topic covers the implementation details of TSaintsSets.
Scope: cpSaintsSets.pas; class derived from TBtnEditProperty. Prepared from the curated implementation supplied for this review on 2 October 2026.
Script line property that wraps the TypeDefinitions.TSaintsSets record under a SaintsSets child. Constructor state and DataValue assignment belong to this class; the five vowel-keyed IDs are described by the record topic.
Notation and shared helper rules: Reading this reference.
No literal rec_type value is emitted directly by the selected routines. A property envelope, an inherited writer or a delegated record can supply its identifying attributes.
Inherited implementation: TBtnEditProperty. Follow it when the ordered behavior invokes inherited methods; inherited fields are not repeated as locally owned fields.
Structures used directly by this XML implementation:
Exact XML fields and attributes
The paths below start at this record or property node. A slash identifies a child element; @ identifies an attribute. Curly braces mark a variable index or expression, not literal XML text. Initial values describe initialization; they do not establish what an omitted individual element does. The Implementation toggle below contains the supplied routines for exact branch order and conversions.
This type has no locally serialized scalar fields. Follow the nested serializer or inherited implementation described here; the Implementation toggle shows the exact calls.
Nested records and repeated elements
Operation |
XML location |
When it is processed |
Read aPropValue.SaintsSets |
SaintsSets |
the record node exists |
Write DataValue.SaintsSets |
SaintsSets |
Whenever this part of the routine is reached |
Initialization and reset values
TSaintsSets.Create
Setting or temporary variable |
Initial value |
When it is assigned |
PropName |
“Saints” |
Always |
Required |
1 |
Always |
PropValue |
Default (TSL_PropValue) |
Always |
DataValue |
PropValue |
Always |
This routine also calls inherited Create; self.FillDisplayValue. See Implementation for their order and any conditional calls.
Storage declarations relevant to interpretation
These are in-memory member and property types, not a list of mandatory XML children. They retain array bounds, fixed buffers and selector types. The field reference above defines what is actually serialized.
The Implementation toggle contains only TSaintsSets methods. Initializers and helpers belonging to other types are identified separately below. Shared XML-helper limitations are explained in Reading this reference.