VScrollBar (vsb)

microsoft excel docsVScrollBar -


Remarks

This control does not support a flat appearance.


Useful Code



Properties

AutoSize Overridden. Gets or sets a value indicating whether the ScrollBar is automatically resized to fit its contents.
BackColor Overridden.
ForeColor Overridden. Gets or sets the foreground color of the scroll bar control.
LargeChange Gets or sets a value to be added to or subtracted from the Value property when the scroll box is moved a large distance.
Maximum Gets or sets the upper limit of values of the scrollable range.
Minimum Gets or sets the lower limit of values of the scrollable range.
SmallChange Gets or sets the value to be added to or subtracted from the Value property when the scroll box is moved a small distance.
Value Gets or sets a numeric value that represents the current position of the scroll box on the scroll bar control.

Events

DoubleClick Occurs when the ScrollBar control is double-clicked.
MouseClick Occurs when the user clicks the ScrollBar control with the mouse.
MouseDoubleClick Occurs when the user double-clicks the ScrollBar control with the mouse.
ValueChangedOccurs when the Value property is changed, either by a Scroll event or programmatically.

© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrevNext