| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
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