Please enable JavaScript to view this site.

 

This topic covers the implementation details of TBoxZorderRec.

 

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

 

Action is SendToBack=0, SendBackward=1, DoNothing=2, BringForward=3 or BringToFront=4. Offset is an additional integer. The enclosing macro box action must select z-order for this record to be used.

 

Notation and shared helper rules: Reading this reference.

 

XML identity and composition

 

Literal rec_type values emitted within these routines: TBoxZorderRec. 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.

 

Action

 

XML representation: The text of the Action element.

 

Initial value: xbzDoNothing (2) (TBoxZorderRec.Initialize).

 

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

 

Writing: Stores the numeric value of Action (see the value table below) whenever the writer reaches this field.

 

Offset

 

XML representation: The text of the Offset element.

 

Initial value: 1 (TBoxZorderRec.Initialize).

 

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

 

Writing: Stores the numeric value of Offset whenever the writer reaches this field.

 

@rec_type

 

XML representation: The rec_type attribute.

 

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

 

Initialization and reset values

 

TBoxZorderRec.Initialize

 

Setting or temporary variable

Initial value

When it is assigned

self

Default (TBoxZorderRec)

Always

Action

xbzDoNothing (2)

Always

Offset

1

Always

 

Value namespaces used by this implementation

 

These are declared Pascal ordinal values. Use the ordinal only where the field serializer actually writes ord(...), an integer cast or an equivalent value. Set-marker strings and local option lists have their own representation; sentinel members in an enum are not automatically legal XML choices.

 

cvtAction

 

Ordinal

Declared member

0

cvaSubstituteRTF

1

cvaStrReplace

2

cvaChgColor

3

cvaSetFrame

4

cvaDelSingleTextBox

5

cvaDelGroupTextBox

6

cvaDelAllOnPageLayer

7

cvaDelOutputPage

8

cvaInsertImage

9

cvaHighlightError

10

cvaNeverDelete

11

cvaBoxFit

12

cvaBoxFitNEW

13

cvaBoxBringToFront

14

cvaBoxBringForward

15

cvaBoxSendBackward

16

cvaBoxSendToBack

17

cvaVoluntaryQuarkCrash

18

cvaDeleteCharsLeft

19

cvaDeleteCharsRight

20

cvaMoveToLayer

21

cvaTextInBoxActionsMin

22

cvatColCount

23

cvatColGutter

24

cvatInset

25

cvatVAlign

26

cvatBaseline

27

cvaTextInBoxActionsMax

28

cvaBoxActionsMin

29

cvaSetBoxTOP

30

cvaSetBoxBOTTOM

31

cvaSetBoxHEIGHT

32

cvaSetBoxLEFT

33

cvaSetBoxRIGHT

34

cvaSetBoxWIDTH

35

cvaMoveBoxTOP

36

cvaMoveBoxBOTTOM

37

cvaMoveBoxLEFT

38

cvaMoveBoxRIGHT

39

cvaSetBoxHOR

40

cvaSetBoxVERT

41

cvaMoveBoxHOR

42

cvaMoveBoxVERT

43

cvaBoxActionsMax

44

cvaBoxGrow

45

cvaApplyStyleMin

46

cvaApplyStyleChar

47

cvaApplyStylePara

48

cvaApplyStyleObj

49

cvaApplyStyleCell

50

cvaApplyStyleTable

51

cvaApplyStyleMax

 

xBoxZorderAction

 

Ordinal

Declared member

0

xbzSendToBack

1

xbzSendBackward

2

xbzDoNothing

3

xbzBringForward

4

xbzBringToFront

 

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

Action

xBoxZorderAction

member

Offset

integer

member

 

Implementation details

 

The Implementation toggle contains only TBoxZorderRec 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