Hide

SftTabs/OCX 6.5 - Tab Control for VB6

Display
Print

SftTabsTabs.HitTest Method

Determines the tab index of a tab at a given location.

Syntax

VBTabIndex = object.HitTest(ByVal Left As Single, ByVal Top As Single) As Integer

object

A SftTabsTabs object.

Left

The horizontal position for which the tab index is to be found. The units used depend on the current coordinate system used (usually TWIPS).

Top

The vertical position for which the tab index is to be found. The units used depend on the current coordinate system used (usually TWIPS).

TabIndex

Returns the zero-based index of the tab at the given location. -1 is returned if no tab is found.

Comments

The HitTest method determines the tab index of a tab at a given location.

The HitTest and HitTestPix methods are synonyms, but use different coordinate systems.

Example

See Reorder Sample

See Also SftTabsTabs Object | Object Hierarchy


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