FMX.Menus.TMenuItem.GetItem
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.