|Download Help (Windows Only)|
SequenceView.HitTest ( x, y)
Returns a numeric item index.
Returns the zero-based index of the step at the location you specify. When the location is on the End step, the index is equal to the number of steps in the step group the control displays. A value of -1 indicates the location is not on a step.
Use this method to determine the item to which the given coordinates belong. For example, when a user clicks on the control, you might want to determine the item the user clicked.
x As Long
[In] Specifies the x-coordinate of the location to test, in pixels, relative to the control.
y As Long
[In] Specifies the y-coordinate of the location to test, in pixels, relative to the control.