HeaderPane
Main
Hide
Share Link
Print

Scroll Method, SftTabsScrolling Object

Scrolls the tabs in a given direction.

Syntax

VBobject.Scroll(ByVal Direction As SftTabsScrollingDirectionConstants)

object

A SftTabsScrolling object.

Direction

Defines the desired scrolling direction.

DirectionValueDescription
directionSftTabsLeft0The tabs are scrolled left (or up) by one position.
directionSftTabsRight1The tabs are scrolled right (or down) by one position.

Comments

The Scroll method scrolls the tabs in a given direction.

Usually, the user clicks on the scroll buttons to scroll the scrollable tabs. The Scroll method can be used by an application to scroll tabs without user intervention. The tabs are scrolled by one position in the given direction.

The Scrolled event is not generated when the Scroll method is used.

If scrolling is not enabled, this method cannot be used. The Scrolling.Style property defines whether scroll buttons are available.

Example

See Reorder Sample

Examples

VB6 View entire sample code

    ' the mouse button was released
    StartTabIndex = -1
End Sub

Private Sub ScrollTimer_Timer()
    ' While dragging, if we are on the first visible tab or if
    ' we approach the right edge of the tab control, the scroll
    ' timer will scroll the tabs in the given direction
    SftTabs1.Scrolling.Scroll Direction
End Sub

Private Sub ClearImage()
    ' remove the insertion image and disable the scroll timer
    Image1.Left = -1000
    Image1.Top = -1000
    DropTabIndex = -1

See Also SftTabsScrolling Object | Object Hierarchy


Last Updated 11/19/2026 - (email)
© 2026 Softel vdm, Inc.