Skip to main content
Table of Contents

TTMSFNCBloxXBlox.IndexOfElement Method

Returns the position of an element within the element list.

API unit family: TMSFNCBloxCoreDiagram Declaring type: TTMSFNCBloxXBlox

Syntax

FMX.TMSFNCBloxCoreDiagram.hppPascalC++
function IndexOfElement(AElement: TTMSFNCBloxElement): integer;
int __fastcall IndexOfElement(TTMSFNCBloxElement* AElement);

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.