Skip to main content
Table of Contents

TTMSFNCMenuItemDropDownButtonControl.GetParentMenuControl Method

Returns the nearest ancestor TTMSFNCMenuItemControl that contains this item, or nil for top-level items.

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

Syntax

GeneratedPascalC++
function GetParentMenuControl: TTMSFNCMenuItemControl;
TTMSFNCMenuItemControl* __fastcall GetParentMenuControl();

Returns

The parent menu item control, or nil if this is a top-level item.