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  
   exHorizontal1 Only horizontal scroll bars are shown.  
   exVertical2 Only vertical scroll bars are shown.  
   exBoth3 Both horizontal and vertical scroll bars are shown.  
   exDisableNoHorizontal5 The horizontal scroll bar is always shown, it is disabled if it is unnecessary.  
   exDisableNoVertical10 The vertical scroll bar is always shown, it is disabled if it is unnecessary.  
   exDisableBoth15 Both horizontal and vertical scroll bars are always shown, disabled if they are unnecessary.  
   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 the control's content is horizontally scrolled to the end. If this flag is set, the user can horizontally scrolls the control's content until last column is visible, and so you can have empty space to the right or left of the columns.   
   exVScrollEmptySpace2048 Allows empty space, when the control's content is vertically scrolled to the end. If this flag is set, the user can vertically scrolls the control's content until last item is visible, and so you can have empty space after the last visible item.  

 


Send comments on this topic.
1999-2017 Exontrol.COM, Software. All rights reserved.