The slider widget represents an integer value as a point on a sliding scale. You can use the VIEW-AS phrase to set up a static slider. You can use the CREATE widget statement to create a dynamic slider. For example:



Attributes

AUTO-RESIZE attribute BGCOLOR attribute COLUMN attribute
CONTEXT-HELP-ID attribute DATA-TYPE attribute DBNAME attribute
DCOLOR 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 FREQUENCY attribute
HANDLE attribute HEIGHT-CHARS attribute HEIGHT-PIXELS attribute
HELP attribute HIDDEN attribute HORIZONTAL attribute
HTML-CHARSET attribute INPUT-VALUE attribute INSTANTIATING-PROCEDURE attribute
LABEL attribute LARGE-TO-SMALL attribute MANUAL-HIGHLIGHT attribute
MAX-VALUE attribute MENU-KEY attribute MENU-MOUSE attribute
MIN-VALUE attribute MODIFIED attribute MOUSE-POINTER attribute
MOVABLE attribute NAME attribute NEXT-SIBLING attribute
NEXT-TAB-ITEM attribute NO-CURRENT-VALUE attribute NUM-DROPPED-FILES 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
SELECTABLE attribute SELECTED attribute SENSITIVE attribute
SIDE-LABEL-HANDLE attribute TABLE attribute TAB-POSITION attribute
TAB-STOP attribute TIC-MARKS attribute TOOLTIP attribute
TYPE attribute VISIBLE attribute WIDGET-ID attribute
WIDTH-CHARS attribute WIDTH-PIXELS attribute WINDOW attribute
X attribute Y attribute

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

Notes

  • Only a value of the INTEGER or INT64 data type can be viewed as a slider. If using INT64, the value must remain within the -2147483648 to +2147483647 range.
  • In character interfaces, a slider widget has a minimum width that is dependent on the specified maximum value (MAX-VALUE attribute). The minimum height for a slider widget in a character interface is 2 character units. You can specify a value as low as 1.5 character units for the height of a slider in a character interface; however, ABL rounds the value up to 2 character units.

See also

CREATE widget statement, VIEW-AS phrase