SCROLLBAR-HORIZONTAL attribute

Indicates whether a horizontal scroll bar appears in an editor or a selection list.

Data type: LOGICAL

Access: Readable/Writeable

Applies to: EDITOR widget, SELECTION-LIST widget

If the SCROLLBAR-HORIZONTAL attribute is TRUE, a horizontal scroll bar appears on the bottom edge of the widget. For an editor widget, horizontal scrolling is always enabled whether or not a horizontal scroll bar is enabled. For a selection list, the scroll bar must be enabled to scroll the list. The default value is FALSE.

Note: If the SCROLLBAR-HORIZONTAL attribute is set to TRUE, then WORD-WRAP is automatically set to FALSE. Likewise, if you set the WORD-WRAP attribute to TRUE, then SCROLLBAR-HORIZONTAL is automatically set to FALSE.

You can set this attribute only before the widget is realized.