AddCustomMenuItem (label, code)
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.
This method is a convenience method for adding a menu item. It is a wrapper on AddMenuItem. It creates an item for a menu created by AddCustomSubMenu, allowing any arbitrary code to be attached. This method can be used for modifying the application as it runs. Items to be created by this command must be coded immediately after AddCustomSubMenu, and will appear in sequence on that submenu.
Copyright © 1995-2011 by Cogent Real-Time Systems, Inc. All rights reserved.