A combo box is a field-level widget that combines the functionality of a fill-in field, radio set, and selection list into one fill-in and drop down list. You can set up a static combo box widget with the VIEW-AS phrase. You can create a dynamic combo box with the CREATE widget statement. The following figure shows a combo box:



Attributes

AUTO-COMPLETION attribute#rfi1424920413752__attribute-combo-box-fn AUTO-RESIZE attribute AUTO-ZAP attribute#rfi1424920413752__attribute-combo-box-fn
BGCOLOR attribute#rfi1424920413752__attribute-combo-box-fn COLUMN attribute CONTEXT-HELP-ID attribute
DATA-TYPE attribute DBNAME attribute DCOLOR attribute#rfi1424920413752__attribute-combo-box-fn
DELIMITER attribute#rfi1424920413752__attribute-combo-box-fn DISABLE-AUTO-ZAP attribute DROP-TARGET attribute
DYNAMIC attribute EDIT-CAN-PASTE attribute#rfi1424920413752__attribute-combo-box-fn EDIT-CAN-UNDO attribute#rfi1424920413752__attribute-combo-box-fn
FGCOLOR attribute#rfi1424920413752__attribute-combo-box-fn FONT attribute#rfi1424920413752__attribute-combo-box-fn FORMAT attribute#rfi1424920413752__attribute-combo-box-fn
FRAME attribute FRAME-COL attribute FRAME-NAME attribute
FRAME-ROW attribute FRAME-X attribute FRAME-Y attribute
HANDLE attribute#rfi1424920413752__attribute-combo-box-fn HEIGHT-CHARS attribute#rfi1424920413752__attribute-combo-box-fn HEIGHT-PIXELS attribute#rfi1424920413752__attribute-combo-box-fn
HELP attribute HIDDEN attribute HWND attribute
INDEX attribute INNER-LINES attribute#rfi1424920413752__attribute-combo-box-fn INPUT-VALUE attribute#rfi1424920413752__attribute-combo-box-fn
INSTANTIATING-PROCEDURE attribute LABEL attribute LABELS attribute
LIST-ITEM-PAIRS attribute#rfi1424920413752__attribute-combo-box-fn LIST-ITEMS attribute#rfi1424920413752__attribute-combo-box-fn MANUAL-HIGHLIGHT attribute
MAX-CHARS attribute#rfi1424920413752__attribute-combo-box-fn MENU-KEY attribute MENU-MOUSE attribute
MODIFIED attribute MOUSE-POINTER attribute MOVABLE attribute
NAME attribute#rfi1424920413752__attribute-combo-box-fn NEXT-SIBLING attribute NEXT-TAB-ITEM attribute
NUM-DROPPED-FILES attribute NUM-ITEMS attribute#rfi1424920413752__attribute-combo-box-fn PARENT attribute
PFCOLOR attribute#rfi1424920413752__attribute-combo-box-fn POPUP-MENU attribute PREV-SIBLING attribute
PREV-TAB-ITEM attribute PRIVATE-DATA attribute RESIZABLE attribute
ROW attribute#rfi1424920413752__attribute-combo-box-fn SCREEN-VALUE attribute#rfi1424920413752__attribute-combo-box-fn SELECTABLE attribute
SELECTED attribute SELECTION-END attribute SELECTION-START attribute
SELECTION-TEXT attribute SENSITIVE attribute SIDE-LABEL-HANDLE attribute
SORT attribute#rfi1424920413752__attribute-combo-box-fn SUBTYPE attribute#rfi1424920413752__attribute-combo-box-fn TABLE attribute
TAB-POSITION attribute TAB-STOP attribute TEXT-SELECTED attribute
TOOLTIP attribute TYPE attribute#rfi1424920413752__attribute-combo-box-fn UNIQUE-MATCH attribute#rfi1424920413752__attribute-combo-box-fn
VISIBLE attribute WIDGET-ID attribute WIDTH-CHARS attribute#rfi1424920413752__attribute-combo-box-fn
WIDTH-PIXELS attribute#rfi1424920413752__attribute-combo-box-fn WINDOW attribute X attribute#rfi1424920413752__attribute-combo-box-fn
Y attribute#rfi1424920413752__attribute-combo-box-fn

Methods

ADD-FIRST( ) method#rfi1424920413752__method-combo-box-fn ADD-LAST( ) method#rfi1424920413752__method-combo-box-fn
CLEAR-SELECTION( ) method#rfi1424920413752__method-combo-box-fn DELETE( ) method#rfi1424920413752__method-combo-box-fn
EDIT-CLEAR( ) method#rfi1424920413752__method-combo-box-fn EDIT-COPY( ) method#rfi1424920413752__method-combo-box-fn
EDIT-CUT( ) method#rfi1424920413752__method-combo-box-fn EDIT-PASTE( ) method#rfi1424920413752__method-combo-box-fn
EDIT-UNDO( ) method#rfi1424920413752__method-combo-box-fn END-FILE-DROP( ) method
ENTRY( ) method#rfi1424920413752__method-combo-box-fn GET-DROPPED-FILE( ) method
INSERT( ) method#rfi1424920413752__method-combo-box-fn LOAD-MOUSE-POINTER( ) method
LOOKUP( ) method#rfi1424920413752__method-combo-box-fn MOVE-AFTER-TAB-ITEM( ) method
MOVE-BEFORE-TAB-ITEM( ) method MOVE-TO-BOTTOM( ) method
MOVE-TO-TOP( ) method REPLACE( ) method#rfi1424920413752__method-combo-box-fn
SET-SELECTION( ) method#rfi1424920413752__method-combo-box-fn VALIDATE( ) method

Events

Default keyboard events Developer events
Field editing key function events General direct manipulation events
Mouse events Navigation key function events
Universal key function events DROP-FILE-NOTIFY
ENTRY LEAVE
VALUE-CHANGED

See also

CREATE widget statement, VIEW-AS phrase

1 This attribute also applies to combo-box browse columns.
2 This method also applies to combo-box browse columns.