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
  1. identifier defines the name of the element.
  2. attribute-list defines the aspect and behavior of the form item.
  3. scalable-item is a stacked layout items that can grow and shrink.
  4. grouping-item is a stacked layout grouping element that holds a list of stack-items.
  5. leaf-item is a leaf element of the stacked layout, for widgets with a fixed size (non-scalable).

Form attributes

ACTION, COMMENT, HIDDEN, IMAGE, STYLE, TAG, TEXT.

Style attributes

Common: backgroundColor, border, fontFamily, fontSize, fontStyle, fontWeight, localAccelerators, showAcceleratorInToolTip, textColor, textDecoration.

Class-specific: none.

Can hold

FOLDER, GROUP, TABLE.

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