BBjMDI::enableMDIWindowMenu
Description
In BBj 3.0 and higher, this method enables the BBjMDI window menu. This menu is not under program control. There are two selections on the BBjMDI window menu. The first menu item allows the user to arrange (Cascade, Tile, Horizontal, Vertical) all windows within the BBjMDI window. The second menu item presents the user with a list of all Windows that are currently visible within the BBjMDI window. By choosing a window from the list, the user is able to bring that window to the front of the BBjMDI display.
Syntax
Return Value |
Method |
---|---|
void |
enableMDIWindowMenu() |
void |
enableMDIWindowMenu(string windowLabel, string arrangeLabel, string cascadeLabel, string tileLabel, string horizontalLabel, string verticalLabel, string listLabel, string noVisibleFrameLabel) |
Parameters
Variable |
Description |
---|---|
windowLabel |
Specifies the label to appear on the BBjMDI window menu. |
arrangeLabel |
Specifies the label of the first popup item displayed when the BBjMDI window menu is selected. |
cascadeLabel |
Specifies the label of the menu item causing all windows within the BBjMDI window to be cascaded. |
tileLabel |
Specifies the label of the menu item causing all windows within the BBjMDI window to be tiled. |
horizontalLabel |
Specifies the label of the menu item causing all windows within the BBjMDI window to be arranged stacked. |
verticalLabel |
Specifies the label of the menu item causing all windows within the BBjMDI window to be arranged side-by-side. |
listLabel |
Specifies the label of the menu item causing a listing of all windows within the BBjMDI window to be displayed. |
noVisibleFramesLabel |
Specifies the label displayed when the listing of all windows within the BBjMDI is empty. |
Return Value
None.
Remarks
The BBjMDI::enableMDIWindowMenu() method is equivalent to BBjMDI::enableMDIWindowMenu("Window", "Arrange", "Cascade", "Tile", "Show windows stacked", "Show windows side by side", "List", "no visible frames") and will result in a menu having the label "Window". The popup menu will contain two menu items with the labels "Arrange" and "List". Choosing the "Arrange" menu item will display a second-level popup having the labels "Cascade", "Tile", "Show windows stacked", and "Show windows side by side".
Example
BBjMDI_enableWindowMenu_Example.bbj
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.