Version

Position Property

Returns or sets the position of a scroll bar in a colscrollregion. This property is not available at design-time.
Syntax
'Declaration
 
Public Property Position As Integer
public int Position {get; set;}
Remarks

The valid range for this property is from 0 to the value of the colscrollregion's Range property, inclusive. This property equals the Range property when the scroll bar is in its rightmost position.

In addition to using this property, a colscrollregion can be scrolled by invoking its Scroll method. When a colscrollregion is scrolled, the BeforeColRegionScroll event is generated.

A colscrollregion's scroll bar can be hidden by setting the colscrollregion's ScrollBar property to 3 (ScrollBarHide). When a colscrollregion's scroll bar is not displayed, the value of this property is 0.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also