MDILayout Method (WINDOW)
PLBCMP GUI Only
The MDILayout method arranges the MDI child windows in a MDI client WINDOW to allow for easier navigation and manipulation. The method uses the following format:
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. A WINDOW object that is accessed.
return
Optional. A Numeric Variable that indicates the success or failure of the method.
layout
Required. A Numeric Variable that specifies a parameter value as defined below.
Flags Affected: EOS, OVER, ZERO
Note the following:
The required {layout} parameter is a decimal number, a Numeric Variable, an Expression, or a keyword as defined in PLBEQU.INC. The supported values and keywords are:
|
Value |
Keyword |
All MDI child icons are ... |
|
1 |
$ArrangeIcons |
arranged within the client region of the MDI client window. |
|
2 |
$Cascade |
cascaded within the client region of the MDI client window. |
|
3 |
$TileHorizontal |
tiled horizontally within the client region of the MDI client window. |
|
4 |
$TileVertical |
are tiled vertically within the client region of the MDI client window. |
If the value returned is zero, the ZERO Condition Flag is set.
The OVER and EOS Condition Flags are always cleared.
For improved performance in the Application Server environment, do not specify the optional return value unless needed.
This method is not available when using the PL/B Web Server.
See Also: Example Code, Method Syntax, WINDOW Methods
![]() |