PAGE stack item
Defines the content of a folder page stack item.
Syntax
PAGE [identifier] [ ( attribute-list ) ]
{ scalable-item
| grouping-item
leaf-item
[...]
END
} [...]
END
- identifier defines the name of the element.
- attribute-list defines the aspect and behavior of the form item.
- scalable-item is a stacked layout items that can grow and shrink.
- grouping-item is a stacked layout grouping element that holds a list of stack-items.
- leaf-item is a leaf element of the stacked layout, for widgets with a fixed size (non-scalable).
Form attributes
Style attributes
Common: backgroundColor
, border
, fontFamily
, fontSize
, fontStyle
, fontWeight
, localAccelerators
, showAcceleratorInToolTip
, textColor
, textDecoration
.
Class-specific: none.
Can hold
Usage
Use a PAGE
stack layout element to group other stack items together.
A PAGE
stack item always belongs to a parent FOLDER
stack item.
For more details about this item type, see PAGE item type.
Example
LAYOUT
STACK
FOLDER folder1 ( STYLE="common" )
PAGE page1 ( TEXT="Customer info" )
GROUP
EDIT FORMONLY.cust_num;
EDIT FORMONLY.cust_name;
END
END
PAGE page2 ( TEXT="Picture" )
GROUP
IMAGE FORMONLY.cust_pic;
END
END
PAGE page3 ( TEXT="Comments" )
GROUP
TEXTEDIT FORMONLY.cust_desc;
END
END
END
END
END