CHECKBOX stack item
Defines a boolean or three-state checkbox field in a stack-based layout.
Syntax
CHECKBOX field-name [ , attribute-list ] ;
- field-name identifies the name of the screen record field.
- attribute-list defines the aspect and behavior of the form item.
Form attributes
COLOR
, COLOR WHERE
, COMMENT
, DEFAULT
, FONTPITCH
, HIDDEN
, INCLUDE
, JUSTIFY
, KEY
, NOT NULL
, NOENTRY
, REQUIRED
, SAMPLE
, SIZEPOLICY
, STYLE
, TAG
, TABINDEX
, TEXT
, TITLE
, VALIDATE LIKE
, UNSORTABLE
, UNSIZABLE
, UNHIDABLE
, UNMOVABLE
, VALUECHECKED
, VALUEUNCHECKED
.
Style attributes
Common: backgroundColor
, border
, fontFamily
, fontSize
, fontStyle
, fontWeight
, localAccelerators
, showAcceleratorInToolTip
, textColor
, textDecoration
.
Class-specific:
customWidget
,
iosCheckBoxOnTintColor
.
Usage
Define the rendering and behavior of a checkbox stack item, with a CHECKBOX
element inside a STACK
container.
For more details about this item type, see CHECKBOX item type.
Example
CHECKBOX customer.active,
REQUIRED, TEXT="Active",
VALUECHECKED="Y", VALUEUNCHECKED="N";