property HorzScrollBar: TNxScrollBar
Description
A property for accessing additional scroll properties and methods.
The class has the following properties and methods
Properties and methods |
Description |
property AutoHide: Boolean |
Determines whether to hide the scrollbar if it is not needed. |
procedure BeginUpdate |
The method disables the scroll update. After the necessary changes, you need to call the EndUpdate method. |
procedure EndUpdate |
The method enables a scroll update. |
property Enabled: Boolean |
Determines the availability of the scroll to the user. |
procedure First |
The method sets the scroll position to the beginning. |
function IsFirst: Boolean |
The function returns True if the scroll is at the beginning position. |
function IsLast: Boolean |
The function returns True if the scroll is at the end position. |
procedure Last |
The method sets the scroll position to the end. |
property ManualScroll: Boolean |
Allows you to enable manual scrolling. In this case, the scrolling will need to be implemented using scripts. |
property MoveBy(Distance: Integer) |
The method moves the scroll position by the specified value. To move the scroll in the opposite direction, use negative values. |
procedure Next |
The method moves the scroll position to the right (move step can be set in pixels in the SmallChange property, default is 5). |
property PageSize: Integer |
Returns the number of visible rows. |
procedure PageDown |
The method moves the scroll position, just like when you press the PageDown keyboard button. |
procedure PageUp |
The method moves the scroll position, just like when you press the PageUp keyboard button. |
property Position: Integer |
The property allows you to get or set a scroll position. |
procedure Prior |
The method moves the scroll position to the left (move step can be set in pixels in the SmallChange property, default is 5). |
property SmallChange: Integer |
Allows you to set the step for moving the scroll in pixels. |
property Visible: Boolean |
Determines the visibility of the scroll bar. |