From Xojo Documentation
|You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!|
The Quit menu item is derived from the QuitMenuItem class.
Since this class is based on MenuItem, please see that class for information on its Properties, Methods, and Events.
The Quit menu item that is added by default to all applications is an instance of the QuitMenuItem class. It differs from menu items derived from the MenuItem class in that it is enabled by default and automatically calls the Quit method to quit the application. Thus, there is no need to enable the menu item via code or write its handler.
You normally have no need to create additional instances of the QuitMenuItem class, but you can use its properties to modify the default appearance or behaviour of the Quit menu item.