SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Returns the index of the character at a given location.
VB.NET | IndexVal = object.CharIndex(ByVal xPos As Single, ByVal yPos As Single) As Integer |
VB | IndexVal = object.CharIndex(ByVal xPos As Single, ByVal yPos As Single) As Long |
C#.NET | int IndexVal = object.CharIndex(float xPos, float yPos); |
VC++ | long IndexVal = object->CharIndex(float xPos, float yPos); |
C | HRESULT object->raw_CharIndex(float xPos, float yPos, long* IndexVal); |
object
xPos
An expression that evaluates to the x coordinate to be tested. The units used depend on the container used (e.g., Visual Basic uses TWIPS by default, Visual C++ uses pixels).
yPos
An expression that evaluates to the y coordinate to be tested. The units used depend on the container used (e.g., Visual Basic uses TWIPS by default, Visual C++ uses pixels).
IndexVal
Returns the index of the character at the coordinates xPos, yPos.
The CharIndex method returns the index of the character at a given location.
CharIndexPix can be used if pixel coordinates are desired.
To determine the general area (such as a caption, buttons, etc.), the HitTest method can be used.
See Also SftMask Object | Object Hierarchy