Spread Windows Forms 9.0 Product Documentation
ScrollBarButtons Enumeration
Example Example 


Specifies the type of scroll bar buttons by specifying which elements of the scroll bar are displayed.
Syntax
'Declaration
 
Public Enum ScrollBarButtons 
   Inherits System.Enum
'Usage
 
Dim instance As ScrollBarButtons
public enum ScrollBarButtons : System.Enum 
Members
MemberDescription
HomeEnd[8] Indicates that the backward-to-home button and the foward-to-end button of the scroll bar appear.
LineUpDown[2] Indicates that the backward line button and the foward line button of the scroll bar appear.
None[0] Indicates that no elements of the scroll bar appear.
PageUpDown[4] Indicates that the backward page button and the foward page button of the scroll bar appear.
Thumb[1] Indicates that the scroll box of the scroll bar appears.
Example
This example uses the ScrollBarButtons enumeration.
fpSpread1.VerticalScrollBar.Buttons = FarPoint.Win.Spread.ScrollBarButtons.HomeEnd | FarPoint.Win.Spread.ScrollBarButtons.PageUpDown | FarPoint.Win.Spread.ScrollBarButtons.LineUpDown | FarPoint.Win.Spread.ScrollBarButtons.Thumb;
fpSpread1.HorizontalScrollBar.Buttons = FarPoint.Win.Spread.ScrollBarButtons.HomeEnd | FarPoint.Win.Spread.ScrollBarButtons.LineUpDown | FarPoint.Win.Spread.ScrollBarButtons.PageUpDown | FarPoint.Win.Spread.ScrollBarButtons.Thumb;
FpSpread1.VerticalScrollBar.Buttons = FarPoint.Win.Spread.ScrollBarButtons.HomeEnd Or FarPoint.Win.Spread.ScrollBarButtons.PageUpDown Or FarPoint.Win.Spread.ScrollBarButtons.LineUpDown Or FarPoint.Win.Spread.ScrollBarButtons.Thumb
FpSpread1.HorizontalScrollBar.Buttons = FarPoint.Win.Spread.ScrollBarButtons.HomeEnd Or FarPoint.Win.Spread.ScrollBarButtons.LineUpDown Or FarPoint.Win.Spread.ScrollBarButtons.PageUpDown Or FarPoint.Win.Spread.ScrollBarButtons.Thumb
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         FarPoint.Win.Spread.ScrollBarButtons

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

FarPoint.Win.Spread Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.