Hide

SftTabs/OCX 6.5 - Tab Control for VB6

Display
Print

SftTabsScrolling.VisibleTab Property

Returns the tab index of the first visible tab.

Syntax

Get
VBTabIndex = object.VisibleTab As Integer

object

A SftTabsScrolling object.

TabIndex

Returns the zero-based index of the first visible tab in a scrollable tab control.

Comments

The VisibleTab property returns the tab index of the first visible tab.

The VisibleTab property only applies to scrollable tab controls. The VisibleTab property returns the index of the first tab that is completely visible. All other tabs with a smaller tab index have scrolled off the edge of the control and are currently not visible to the user. This is not the same as a hidden tab (see Tab.Visible property). A hidden tab is a tab that cannot be made visible by the end-user.

The Scrolling.LeftButton and Scrolling.RightButton properties can be used to determine if scrolling in a given direction is possible. The Scrolling.Scroll method is used to scroll a tab control under application control.

If scrolling is not enabled, this property cannot be used.

See Also SftTabsScrolling Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.