BUTTONEDIT item definition

Defines a line-edit field with a push-button that can trigger an action, in a grid-based layout.

Syntax

BUTTONEDIT item-tag = field-name [ , attribute-list ] ;
  1. item-tag is an identifier that defines the name of the item tag in the layout section.
  2. field-name identifies the name of the screen record field.
  3. attribute-list defines the aspect and behavior of the form item.

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.

Usage

Define the rendering and behavior of a buttonedit item tag, with a BUTTONEDIT element in the ATTRIBUTES section.

For more details about this item type, see BUTTONEDIT item type.

Example

LAYOUT
GRID
{
[f1         ]
 ...

}
END
END

ATTRIBUTES
BUTTONEDIT f1 = customer.state,
   REQUIRED, IMAGE="smiley", ACTION=zoom;
...