Scrollbar Control Attributes Window

Start of instruction setAccessible Using

  1. Double-click on the scroll-bar control; or

  2. if selected: "Control > Attributes" or by selecting 'Attributes...' from the control's context menu or

  3. if selected: ENTER


Entries

Note:
For context-sensitive help on attribute entries, select the entry so it has the focus, and press F1.

Entry in Attributes Window Represents
Name Handle name of the scroll-bar control (may be overwritten with another name starting with the # sign).
Array... Dialog box for defining an array of scroll-bar controls.
DIL text DIL-TEXT attribute value (string).
... Dialog box for determining sources of DIL-TEXT attribute values.
Help ID HELP-ID attribute value. You must use the help topic's .h file to map the numerical ID that you enter here to the corresponding help topic ID (created by a markup in the .hlp file).
Context Menu CONTEXT-MENU attribute value. Specifies the context menu (if any) associated with the control.
State:  
Visible VISIBLE attribute value.
Enabled ENABLED attribute value.
Values:  
Minimum MIN attribute value (minimum numerical value on the scale).
Maximum MAX attribute value (maximum numerical value on the scale).
Line LINE attribute value (number of logical units by which the slider moves if the end user presses the up and down arrow buttons).
Page PAGE attribute value (number of logical units by which the slider moves if the end user clicks on the scroll-bar control's shaft).
Slider SLIDER attribute value (position of the slider in between the MIN and MAX values).
Rectangle: The following four attributes decide the scroll-bar control's x and y axis position, its height and its width on the screen.

X - RECTANGLE-X attribute value.
Y - RECTANGLE-Y attribute value.
W - RECTANGLE-W attribute value.
H - RECTANGLE-H attribute value.

Horizontal / Vertical Mutually exclusive STYLE attribute values: slider will scroll horizontally or vertically.

Note:
When you edit the STYLE attribute value in the scroll-bar control attributes window, setting "h" instead of "v" and vice versa, the RECTANGLE-H and RECTANGLE-W attribute values are exchanged. The dialog editor thus ensures that the scroll-bar control will not provide for vertical scrolling in a horizontal shape and vice versa.

Foreground color:  
Selection box FOREGROUND-COLOUR-NAME attribute value.
... Dialog box for editing FOREGROUND-COLOUR-VALUE attribute value.
Background color:  
Selection box BACKGROUND-COLOUR-NAME attribute value.
... Dialog box for editing BACKGROUND-COLOUR-VALUE attribute value.
OK Save settings and exit the window.
Cancel Exit the window without saving the settings.
Help Provides online help on the attributes window.