COMBOBOX item definition
Defines a COMBOBOX
item in a grid-based layout, in a grid-based
layout.
Syntax
COMBOBOX item-tag = field-name [ , attribute-list ] ;
- item-tag is an identifier that defines the name of the item tag in the layout section.
- field-name identifies the name of the screen record field.
- attribute-list defines the aspect and behavior of the form item.
Attributes
COLOR
, COLOR WHERE
, COMMENT
, DEFAULT
, DOWNSHIFT
, FONTPITCH
, HIDDEN
, KEY
, INCLUDE
, INITIALIZER
, ITEMS
, JUSTIFY
, NOT NULL
, NOENTRY
, PLACEHOLDER
, QUERYEDITABLE
, REQUIRED
, SAMPLE
, SCROLL
, SIZEPOLICY
, STYLE
, UPSHIFT
, TAG
, TABINDEX
, UNSORTABLE
, UNSIZABLE
, UNHIDABLE
, UNMOVABLE
, TITLE
, VALIDATE LIKE
.
Usage
Define the rendering and behavior of a combobox item tag, with a
COMBOBOX
element in the ATTRIBUTES
section.
For more details about this item type, see COMBOBOX item type.
Example
LAYOUT
GRID
{
[f1 ]
...
}
END
END
ATTRIBUTES
COMBOBOX f1 = customer.city,
ITEMS=((1,"Paris"),
(2,"Madrid"),
(3,"London"));
...