From Xojo Documentation

Revision as of 18:56, 19 November 2009 by WikiSysop (talk) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

Super 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.

See Also

EnableMenuItems function; New operator; AppleMenuItem, MenuItem, PrefsMenuItem classes.