From Xojo Documentation
Adds Item as a DesktopMenuItem at the position indicated by Index. Index is zero-based.
You can add a Separator by passing the class constant MenuItem.TextSeparator.
The following example adds a new item in the Edit menu with the text "Paste Special..." just below the Paste item.