The ScrollBars property supports a bitwise OR combination of the following
values:
Name | Value | Description | |||
exNoScroll | 0 | No scroll bars are shown | |||
exHorizontal | 1 | Only horizontal scroll bars are shown. | |||
exVertical | 2 | Only vertical scroll bars are shown. | |||
exBoth | 3 | Both horizontal and vertical scroll bars are shown. | |||
exDisableNoHorizontal | 5 | The horizontal scroll bar is always shown, it is disabled if it is unnecessary. | |||
exDisableNoVertical | 10 | The vertical scroll bar is always shown, it is disabled if it is unnecessary. | |||
exDisableBoth | 15 | Both horizontal and vertical scroll bars are always shown, disabled if they are unnecessary. | |||
exHScrollOnThumbRelease | 256 | Scrolls the control's content when the user releases the thumb of the horizontal scroll bar. Use this option to specify that the user scrolls the control's content when the thumb of the scroll box is released. | |||
exVScrollOnThumbRelease | 512 | Scrolls the control's content when the user releases the thumb of the vertical scroll bar. Use this option to specify that the user scrolls the control's content when the thumb of the scroll box is released. |