Skip to main content
Table of Contents

TTMSFNCMenuItems.Insert Method

Inserts a new menu item at the specified zero-based position and returns it.

API unit family: TMSFNCPopupMenu Declaring type: TTMSFNCMenuItems

Syntax

FMX.TMSFNCPopupMenu.hppPascalC++
function Insert(Index: integer): TTMSFNCMenuItem;
HIDESBASE TTMSFNCMenuItem* __fastcall Insert(int Index);

Parameters

Name Description
Index Zero-based position at which to insert the new item.

Returns

The newly inserted TTMSFNCMenuItem.