DOCK Property


PLBCMP GUI Only

square.png Objects

 

The DOCK property indicates whether an object should be attached to the edge of a window. The property uses the following format:

 

DOCK={value}

Note the following:

  1. DOCK may be used in CREATE, SETPROP, or GETPROP statements.

  2. When an object is docked to an edge of its window, it is always positioned flush against that edge when the window is resized.

  3. {value} is a decimal number, a Numeric Variable, an Expression, or a keyword as defined in PLBEQU.INC. The supported values and keywords are:

  4.  

    Value

    Keyword

    Alias

    Meaning ...

    1

    $DOCKBOTTOM

    $WINDOCKBOTTOM

    The object's bottom edge is docked to the bottom of the window.

    2

    $DOCKLEFT

    $WINDOCKLEFT

    The object's left edge is docked to the left of the window

    3

    $DOCKNONE

    $WINDOCKNONE

    The object is not docked.

    4

    $DOCKRIGHT

    $WINDOCKRIGHT

    The object's right edge is docked to the right of the window.

    5

    $DOCKTOP

    $WINDOCKTOP

    The object's top edge is docked to the top of the window.

    6

    $DOCKFULL

     

    The object takes up the rest of the docking space (8.7A).

 

See Also: Object Properties, Object IO Instructions, Object Definitions

 



PL/B Language Reference DIVISIONID Property DOCKPADB Property