windowMenuItem
Specifies a menu item and how it behaves as one of the available standard Window menu options.
Property of:
Menu
Description
windowMenuItem can be set to one of the following values to specify whether or not the menu option will behave like one of the standard Window menu options when pressed or clicked on.
0 - None
1 - Cascade
2 - Tile Horizontally
3 - Tile Vertically
4 - Arrange Icons
5 - Close All
The default value for windowMenuItem is 0 - None.
When using the Menu Designer, choosing Menu | Insert \'Window'\ Menu will create a Window menu with each of the below options (1 thru 5) predefined.
If windowMenuItem is set to a value between 1 and 5 and the menu is NOT assigned an onClick event handler, when clicked, the corresponding built-in default behavior will be executed.
The built-in default behaviors are:
0 - None - Behave as normal menu option
1 - Cascade - Arrange open windows in an overlapped manner
2 - Tile Horizontally - Arrange open windows side by side, horizontally
3 - Tile Vertically - Arrange open windows one beneath the next, vertically
4 - Arrange Icons - Arrange any minimized windows in neat rows and columns
5 - Close All - Close every open window
If an onClick event handler is assigned, the onClick handler will execute
instead of the default behavior.