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:

 

[label]

{object}.MDILayout

[GIVING {return}] USING [*Layout=]{layout}

 

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:

  1. 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:

  2.  

    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.

 

  1. If the value returned is zero, the ZERO Condition Flag is set.

  2. The OVER and EOS Condition Flags are always cleared.

  3. For improved performance in the Application Server environment, do not specify the optional return value unless needed.

  4. This method is not available when using the PL/B Web Server.

 

 

See Also: Example Code, Method Syntax, WINDOW Methods

 



PL/B Language Reference MDIChildPrev Method (WINDOW) MDIShow Method (WINDOW)