Please enable JavaScript to view this site.

 

This topic covers the implementation details of TGridLock.

 

Scope: TypeDefinitions.pas; record. Prepared from the curated implementation supplied for this review on 2 October 2026.

 

Enabled gates GridLevel and GridType. Values are stored as ordinals/integers; use the included declarations where available and do not infer validity beyond the source-supported cases.

 

Notation and shared helper rules: Reading this reference.

 

XML identity and composition

 

Literal rec_type values emitted within these routines: TGridLock. Nested values may belong to child wrappers rather than this owner itself; the attribute entries below give their exact locations.

 

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.

 

Enabled

 

XML representation: The text of the Enabled element.

 

Initial value: false (TGridLock.Initialize).

 

Reading: Reads the element into Enabled when the record node exists.

 

Writing: Stores true or false according to Enabled whenever the writer reaches this field.

 

GridLevel

 

XML representation: The text of the GridLevel element.

 

Initial value: 0 (TGridLock.Initialize).

 

Reading: Reads the element into GridLevel when the record node exists; Enabled is true.

 

Writing: Stores the numeric value of GridLevel when Enabled is true.

 

GridType

 

XML representation: The text of the GridType element.

 

Initial value: 3 (TGridLock.Initialize).

 

Reading: Reads the element into GridType when the record node exists; Enabled is true.

 

Writing: Stores the numeric value of GridType when Enabled is true.

 

@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TGridLock” whenever the writer reaches this field.

 

Initialization and reset values

 

TGridLock.Initialize

 

Setting or temporary variable

Initial value

When it is assigned

Enabled

false

Always

GridLevel

0

Always

GridType

3

Always

 

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.

 

Name

Declared type / bounds

Kind

Enabled

boolean

member

GridType

integer

member

GridLevel

integer

member

 

Implementation details

 

The Implementation toggle contains only TGridLock methods. Initializers and helpers belonging to other types are identified separately below. Shared XML-helper limitations are explained in Reading this reference.

 

Declaration reproduces this record’s complete declaration from the supplied source, including its fields, properties and method signatures.

 

Declaration

 

Implementation