You can use the toggle box widget to represent a logical value. You can use the VIEW-AS phrase to set up a static toggle box, or the CREATE widget statement to create a dynamic toggle box. This figure shows five toggle boxes:



Attributes

AUTO-RESIZE attribute BGCOLOR attribute#rfi1424920337295__fn-att-toggle CHECKED attribute
COLUMN attribute CONTEXT-HELP-ID attribute DATA-TYPE attribute
DBNAME attribute DCOLOR attribute#rfi1424920337295__fn-att-toggle DROP-TARGET attribute
DYNAMIC attribute FGCOLOR attribute#rfi1424920337295__fn-att-toggle FONT attribute
FORMAT attribute FRAME attribute FRAME-COL attribute
FRAME-NAME attribute FRAME-ROW attribute FRAME-X attribute
FRAME-Y attribute HANDLE attribute#rfi1424920337295__fn-att-toggle HEIGHT-CHARS attribute#rfi1424920337295__fn-att-toggle
HEIGHT-PIXELS attribute#rfi1424920337295__fn-att-toggle HELP attribute HIDDEN attribute
HWND attribute INDEX attribute INPUT-VALUE attribute#rfi1424920337295__fn-att-toggle
INSTANTIATING-PROCEDURE attribute LABEL attribute MANUAL-HIGHLIGHT attribute
MENU-KEY attribute MENU-MOUSE attribute MODIFIED attribute
MOUSE-POINTER attribute MOVABLE attribute NAME attribute#rfi1424920337295__fn-att-toggle
NEXT-SIBLING attribute NEXT-TAB-ITEM attribute NUM-DROPPED-FILES attribute
PARENT attribute PFCOLOR attribute#rfi1424920337295__fn-att-toggle POPUP-MENU attribute
PREV-SIBLING attribute PREV-TAB-ITEM attribute PRIVATE-DATA attribute
RESIZABLE attribute ROW attribute#rfi1424920337295__fn-att-toggle SCREEN-VALUE attribute#rfi1424920337295__fn-att-toggle
SELECTABLE attribute SELECTED attribute SENSITIVE attribute
TABLE attribute TAB-POSITION attribute TAB-STOP attribute
TOOLTIP attribute TYPE attribute#rfi1424920337295__fn-att-toggle VISIBLE attribute
WIDGET-ID attribute WIDTH-CHARS attribute#rfi1424920337295__fn-att-toggle WIDTH-PIXELS attribute#rfi1424920337295__fn-att-toggle
WINDOW attribute X attribute#rfi1424920337295__fn-att-toggle Y attribute#rfi1424920337295__fn-att-toggle

Methods

END-FILE-DROP( ) method GET-DROPPED-FILE( ) method
LOAD-MOUSE-POINTER( ) method MOVE-AFTER-TAB-ITEM( ) method
MOVE-BEFORE-TAB-ITEM( ) method MOVE-TO-BOTTOM( ) method
MOVE-TO-TOP( ) method VALIDATE( ) method

Events

Default keyboard events Developer 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 toggle-box browse columns.