setExit method

Set True/false for whether to show the Exit menu item or not, respectively.

 Syntax
 Parameters