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