Skip to main content
Table of Contents

TTMSFNCMenuItemToolBarControl.GetNextMenuItem Method

Returns the next selectable (or any) item after this one in the parent menu view.

API unit family: TMSFNCPopupMenu Declaring type: TTMSFNCMenuItemToolBarControl Inherited from: TTMSFNCMenuItemControl

Syntax

GeneratedPascalC++
function GetNextMenuItem(ASelectable: Boolean = True): TTMSFNCMenuItemControl;
TTMSFNCMenuItemControl* __fastcall GetNextMenuItem(bool ASelectable = true);

Parameters

Name Description
ASelectable When True, skips non-selectable items. Default is True.

Returns

The next matching menu item control, or nil if this is the last item.