Returns the SftTabsScrolling object.
Get
| VB | Set refScrollingObj = object.Scrolling As SftTabsScrolling |
object
refScrollingObj
Returns a reference to the control's SftTabsScrolling object.
The Scrolling property returns the SftTabsScrolling object.
The Scrolling property returns the SftTabsScrolling object for the control. The scrolling properties and behavior of the control can be updated using the returned SftTabsScrolling object.
Private Sub Form_Load()
Dim I As Integer
With SftTabs1.Direct
.BulkUpdate = True
.Scrolling.Style = scrollSftTabsAlwaysRight
With .Tabs
For I = 0 To 20
.Add "Tab " & I
Next
End With
.BulkUpdate = False
End With
End Sub
StartTabIndex = -1
DropTabIndex = -1
' initialiaze sample tab control
With SftTabs1.Direct
.OLEDragMode = OLEDragSftTabsManual
.OLEDropMode = OLEDropSftTabsManual
.Scrolling.Style = scrollSftTabsAlwaysLeft
.Scrolling.FullSize = True
.BulkUpdate = True
For i = 5 To 14
' adding more than 6 tabs total to the tab control
' will fail if the demo version is used.
.Tabs.Add ("Tab " & i)See Also SftTabs Object | Object Hierarchy