A selection list is a widget that contains a list of possible values for a field or variable. You can use the VIEW-AS phrase to set up a static selection list. You can use the CREATE widget statement to create a dynamic selection list. For example:



Attributes

AUTO-RESIZE attribute BGCOLOR attribute COLUMN attribute
CONTEXT-HELP-ID attribute DATA-TYPE attribute DBNAME attribute
DCOLOR attribute DELIMITER attribute DRAG-ENABLED attribute
DROP-TARGET attribute DYNAMIC attribute FGCOLOR attribute
FONT attribute FRAME attribute FRAME-COL attribute
FRAME-NAME attribute FRAME-ROW attribute FRAME-X attribute
FRAME-Y attribute HANDLE attribute HEIGHT-CHARS attribute
HEIGHT-PIXELS attribute HELP attribute HIDDEN attribute
HTML-CHARSET attribute INNER-CHARS attribute INNER-LINES attribute
INPUT-VALUE attribute INSTANTIATING-PROCEDURE attribute LABEL attribute
LIST-ITEM-PAIRS attribute LIST-ITEMS attribute MANUAL-HIGHLIGHT attribute
MENU-KEY attribute MENU-MOUSE attribute MODIFIED attribute
MOUSE-POINTER attribute MOVABLE attribute MULTIPLE attribute
NAME attribute NEXT-SIBLING attribute NEXT-TAB-ITEM attribute
NUM-DROPPED-FILES attribute NUM-ITEMS attribute PARENT attribute
PFCOLOR attribute POPUP-MENU attribute PREV-SIBLING attribute
PREV-TAB-ITEM attribute PRIVATE-DATA attribute RESIZABLE attribute
ROW attribute SCREEN-VALUE attribute SCROLLBAR-HORIZONTAL attribute
SCROLLBAR-VERTICAL attribute SELECTABLE attribute SELECTED attribute
SENSITIVE attribute SIDE-LABEL-HANDLE attribute SORT attribute
TABLE attribute TAB-POSITION attribute TAB-STOP attribute
TOOLTIP attribute TYPE attribute VISIBLE attribute
WIDGET-ID attribute WIDTH-CHARS attribute WIDTH-PIXELS attribute
WINDOW attribute X attribute Y attribute

Methods

ADD-FIRST( ) method ADD-LAST( ) method
DELETE( ) method) END-FILE-DROP( ) method
ENTRY( ) method GET-DROPPED-FILE( ) method
INSERT( ) method IS-SELECTED( ) method
LOAD-MOUSE-POINTER( ) method LOOKUP( ) method
MOVE-AFTER-TAB-ITEM( ) method MOVE-BEFORE-TAB-ITEM( ) method
MOVE-TO-BOTTOM( ) method MOVE-TO-TOP( ) method
REPLACE( ) method SCROLL-TO-ITEM( ) method
VALIDATE( ) method

Events

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

See also

CREATE widget statement, VIEW-AS phrase