Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

Menu.ItemAtIndex

Queries the ID of the menu item with given index.

Component Version macOS Windows Linux Server iOS SDK
Menu 5.0 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Menu.ItemAtIndex"; menu; Index )   More

Parameters

Parameter Description Example
menu The reference to the menu. Please create one with Menu.CreateMenu. $menu
Index The index of the menu item to query. 0

Result

Returns reference number or error.

Description

Queries the ID of the menu item with given index.
Index is zero based and ranges from 0 to Menu.NumberOfItems-1.

See also

Blog Entries

This function checks for a license.

Created 1st December 2014, last changed 9th November 2021


Menu.InsertItem - Menu.Items

💬 Ask a question or report a problem