From Xojo Documentation
|You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!|
Item returns as a MenuItem the item indicated by its index (zero-based).
If the passed index is out of range, an OutOfBoundsException is raised.
The following example gets the MenuItem corresponding to the Cut item on the Edit menu by position: