BUTTONEDIT stack item
Defines a line-edit with a push-button that can trigger an action in a stack-based layout.
Syntax
BUTTONEDIT 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
ACTION
, AUTONEXT
, CENTURY
, COLOR
, COMPLETER
, COLOR WHERE
,
COMMENT
, DEFAULT
, DISPLAY LIKE
,
DOWNSHIFT
,
FONTPITCH
,
HIDDEN
, FORMAT
, IMAGE
, INCLUDE
, INVISIBLE
, JUSTIFY
, KEY
, KEYBOARDHINT
,
NOT NULL
,
NOTEDITABLE
, NOENTRY
, PICTURE
, PLACEHOLDER
, PROGRAM
, REVERSE
, SAMPLE
, SCROLL
, STYLE
, REQUIRED
, TAG
, TITLE
, TABINDEX
, UNSORTABLE
, UNSIZABLE
, UNHIDABLE
, UNMOVABLE
, UPSHIFT
, VALIDATE LIKE
,
VERIFY
.
Style attributes
Common: backgroundColor
, border
, fontFamily
, fontSize
, fontStyle
, fontWeight
, localAccelerators
, showAcceleratorInToolTip
, textColor
, textDecoration
.
Class-specific: scaleIcon
.
Usage
Define the rendering and behavior of a buttonedit stack item, with a BUTTONEDIT
element inside a STACK
container.
For more details about this item type, see BUTTONEDIT item type.
Example
BUTTONEDIT customer.state,
REQUIRED, IMAGE="smiley", ACTION=zoom;