SequenceView.ItemIndexToStep

Syntax

SequenceView.ItemIndexToStep( itemIndex, group, stepIndex)

Return Value

Boolean

Returns True when the item at itemIndex is a step. Returns False when the item is a step group start or end marker.

Purpose

Converts from an item index to a step group and step index.

Parameters

itemIndex As Long

[In] Specifies a zero-based index that specifies an item in the control. Item indexes increase from top to bottom.

group As StepGroups

[Out] Returns the step group of the specified step.

stepIndex As Long

[Out] Returns the index within the step group for the specified step. Returns -1 when the item is a start marker. Returns the number of steps in the step group when the item is an end marker.

See Also

SequenceView.StepToItemIndex