DesktopMenuItem.MenuAt
From Xojo Documentation
Method
DesktopMenuItem.MenuAt(Index as Integer) As DesktopMenuItem
New in 2021r3
Supported for all project types and targets.
New in 2021r3
Supported for all project types and targets.
Item returns as a DesktopMenuItem the item indicated by the index passed.
Notes
If the passed index is out of range, an OutOfBoundsException is raised.
Example
The following example gets the DesktopMenuItem corresponding to the Cut item on the Edit menu by position: