BUTTON stack item
Defines a push-button that can trigger an action in a stack-based layout.
Syntax
BUTTON item-name [ , attribute-list ] ;
- item-name defines the form item name and the action name.
- attribute-list defines the aspect and behavior of the form item.
Form attributes
COMMENT
,
DISCLOSUREINDICATOR
,
FONTPITCH
,
HIDDEN
,
IMAGE
,
SAMPLE
,
SIZEPOLICY
,
STYLE
,
TABINDEX
,
TAG
,
TEXT
.
Style attributes
Common: backgroundColor
, border
, fontFamily
, fontSize
, fontStyle
, fontWeight
, localAccelerators
, showAcceleratorInToolTip
, textColor
, textDecoration
.
Class-specific: alignment
, buttonType
, scaleIcon
.
Usage
Define the rendering and behavior of a button stack item, with a BUTTON
element
inside a STACK
container.
For more details about this item type, see BUTTON item type.
Example
BUTTON print, TEXT="Print Report", IMAGE="printer";