Skip to main content

TdxGuides.IndexOf(TdxGuide) Method

Identifies the specified guide UI adorner‘s index within the collection.

Declaration

function IndexOf(AItem: TdxGuide): Integer;

Parameters

Name Type
AItem TdxGuide

Returns

Type
Integer

Remarks

This function returns a zero-based index of the guide passed as the AItem parameter. The IndexOf function returns -1 if there is no specified guide in the collection.

The maximum index is the Count property value minus one.

Note

The guide indexes determine the default arrow and Tab key navigation order that you can change by modifying the TabOrder property values of individual guides within the collection.

See Also