TTMSFNCPopupMenu.GetMenuItemByText Method
Returns the first item whose
Textmatches the given string, ornilif not found.
API unit family: TMSFNCPopupMenu
Declaring type: TTMSFNCPopupMenu
Inherited from: TTMSFNCCustomPopupMenu
Syntax
function GetMenuItemByText(AText: string): TTMSFNCMenuItem;
Parameters
| Name | Description |
|---|---|
AText |
Text to search for in top-level items. |
Returns
The first matching TTMSFNCMenuItem, or nil if not found.