FMX.Menus.TMenuItem.GetItem

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetItem(const AIndex: Integer): TFmxObject;

C++

Fmx::Types::TFmxObject* __fastcall GetItem(const int AIndex);

Properties

Type Visibility Source Unit Parent
function protected
FMX.Menus.pas
FMX.Menus.hpp
FMX.Menus TMenuItem

Description

Returns the specified TMenuItem child.

GetItem searches in the Children property for the TMenuItem object specified by the value of the AIndex parameter, and returns it.

Note: Only TMenuItem objects are taken into account when iterating through the Children property.

See Also