AddStopMenuItem
AddStopMenuItem — creates a menu item that destroys the running application.
Syntax
AddStopMenuItem (label)
Arguments
- label
The name of the item, as a text
string, that will actually appear on the menu.
Returns
A list containing two members:
the ID number for this action, followed by a Gamma
expression that is the action to be taken when a menu item
is selected.
Description
This method lets you create
an item on a DataHub system tray menu that will exit the
application and remove all event handlers and menu
items.