Type | Description | |||
Type as ScrollEnum | A ScrollEnum expression that indicates type of scrolling being performed. | |||
ScrollTo as Variant | A long expression that indicates the position where the control is scrolled when Type is exScrollVTo or exScrollHTo. If the ScrollTo parameter is missing, 0 value is used. |
The following VB sample scrolls the control's content to the first item ( scrolls to the top ):
Tree1.Scroll exScrollVTo, 0
The following C++ sample scrolls the control's content to the top:
m_tree.Scroll( 2 /*exScrollVTo*/, COleVariant( (long)0 ) );
The following C# sample scrolls the control's content to the top:
axTree1.Scroll(EXTREELib.ScrollEnum.exScrollVTo, 0);
The following VB.NET sample scrolls the control's content to the top:
AxTree1.Scroll(EXTREELib.ScrollEnum.exScrollVTo, 0)
The following VFP sample scrolls the control's content to the top:
with thisform.Tree1 .Scroll( 2, 0 ) && exScrollVTo endwith