Skip to main content
Table of Contents

TTMSFNCPopupMenu.GetCheckedMenuItemByGroupName Method

Returns the checked item in the radio group with the given name, or nil if none is checked.

API unit family: TMSFNCPopupMenu Declaring type: TTMSFNCPopupMenu Inherited from: TTMSFNCCustomPopupMenu

Syntax

FMX.TMSFNCPopupMenu.hppPascalC++
function GetCheckedMenuItemByGroupName(AGroupName: string): TTMSFNCMenuItem;
TTMSFNCMenuItem* __fastcall GetCheckedMenuItemByGroupName(System::UnicodeString AGroupName);

Parameters

Name Description
AGroupName Group name to search.

Returns

The checked TTMSFNCMenuItem in the group, or nil if none is checked.