constants ScrollBarsEnum
Specifies which scroll bars will be visible on a control. The ScrollBars property of the control specifies the scroll bars being visible in the control. By default, the ScrollBars property is exBoth, which indicates that both scroll bars of the component are being displayed only when they require.

Use the Scroll method to programmatically scroll the control's content to specified position. The ScrollPos property determines the position of the control's scroll bars. The ScrollWidth property specifies the width in pixels, of the vertical scroll bar. The ScrollHeight property specifies the height in pixels of the horizontal scroll bar. The ScrollOrderParts property specifies the order to display the parts of the scroll bar ( buttons, thumbs and so on ). The ScrollPartCaption property specifies the caption to be shown on any part of the scroll bar. Use the SelectPos property to select items giving its position.

The ScrollBars property supports a bitwise OR combination of the following values:

NameValueDescription
exNoScroll0 No scroll bars are shown. This flag should not be combined with any other.
exHorizontal1 Only horizontal scroll bars are shown. This flag can be combined with any other flag greater or equal with 256.
exVertical2 Only vertical scroll bars are shown. This flag can be combined with any other flag greater or equal with 256.
exBoth3 Both horizontal and vertical scroll bars are shown. This flag can be combined with any other flag greater or equal with 256.
exDisableNoHorizontal5 The horizontal scroll bar is always shown, it is disabled if it is unnecessary. This flag can be combined with any other flag greater or equal with 256.
exDisableNoVertical10 The vertical scroll bar is always shown, it is disabled if it is unnecessary. This flag can be combined with any other flag greater or equal with 256.
exDisableBoth15 Both horizontal and vertical scroll bars are always shown, disabled if they are unnecessary. This flag can be combined with any other flag greater or equal with 256.
exHScrollOnThumbRelease256 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.
exVScrollOnThumbRelease512 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.
exHScrollEmptySpace1024 Allows empty space, when control's content is horizontally scrolled to the end. If this flag is set, the last visible column, is displayed on leftmost position of the control, when the user horizontally scrolls to the end.
exVScrollEmptySpace2048 Allows empty space, when control's content is vertically scrolled to the end. If this flag is set, the last visible item, is displayed on top of the control, when the user vertically scrolls to the end.