Table of Contents

TTMSFNCBloxXBlox.IndexOfElement Method

Returns the position of an element within the element list.

API unit family: TMSFNCBloxCoreDiagram Declaring type: TTMSFNCBloxXBlox

Syntax

function IndexOfElement(AElement: TTMSFNCBloxElement): integer;

Parameters

Name Description
AElement The element to locate.

Returns

The zero-based index of the element, or -1 when it is not part of the diagram.