CENTERPOS Property


PLBCMP GUI Only

 

The CENTERPOS property aligns an EDITTEXT object vertically in the middle of the user-defined object area. The property uses the following format:

 

CENTERPOS={value}

Note the following:

  1. CENTERPOS may be used in CREATE statements of an EDITTEXT object.

  2. The CENTERPOS property only affects to EDITTEXT objects on the main program window. The property is accepted by the compiler for objects on other windows but no action is taken by the runtime.

  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

    The objects vertical position is ...

    0

    $CENTERPOS

    centered. (default)

    1

    $TOPLEFTPOS

    top left.

 

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

 



PL/B Language Reference CENTER Property CHECKBOX Property