RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TScrollBar Class

TScrollBar is a Windows scroll bar, which is used to scroll the contents of a window, form, or control.

Pascal
TScrollBar = class(TWinControl);
C++
class TScrollBar : public TWinControl;

Use TScrollBar to add a free-standing scroll bar to a form. Many controls have properties that add scroll bars which are an integral part of the control (TControlScrollBar objects). TScrollBar allows controls that do not have integrated scroll bars or groupings of controls to be scrolled when the user manipulates the TScrollBar object. 

When the bi-directional mode of a scroll bar is changed, its coordinate system is reversed. Position zero in left-to-right mode is the left side, and position zero in right-to-left mode is the right side. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!