TControlScrollBar
Description
The class allows you to set parameters for scrollbars on a form.
The class has the following properties
Property |
Description |
IsScrollBarVisible: Boolean |
Returns true if the scroll bar is visible. |
ScrollPos: Integer |
Indicates the position of the thumb tab. |
ButtonSize: Integer |
Specifies the sizes of the buttons in the scroll bar. |
Position: Integer |
Specifies the position of the thumb tab on the scroll bar. |
Range: Integer |
Determines how far the scrolling region of the associated control can move. |
Tracking: Boolean |
Determines whether the form or scroll box moves before the thumb tab is released. |
Visible: Boolean |
Determines whether the scroll bar appears. |
Exampple
Form1.HorzScrollBar.Position := 100;
Form1.VertScrollBar.Tracking := True;