Hide

SftTabs/OCX 6.5 - Tab Control for VB6

Display
Print

SftTabsTabs.HitTestPix Method

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

Syntax

VBTabIndex = object.HitTestPix(ByVal LeftPix As Long, ByVal TopPix As Long) As Integer

object

A SftTabsTabs object.

LeftPix

The horizontal position for which the tab index is to be found. The units used are pixels.

TopPix

The vertical position for which the tab index is to be found. The units used are pixels.

TabIndex

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

Comments

The HitTestPix 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.