CENTER Property


PLBCMP GUI Only

square.png Objects

 

The CENTER property aligns the text in the middle of the object horizontally. The property uses the following format:

 

CENTER[={value}]

Note the following:

  1. CENTER may be used in CREATE statements.

  2. The CENTER property is obsolescent and replaced by the ALIGNMENT property. The ALIGNMENT property may be used in SETPROP and GETPROP operations.

  3. If the CENTER property is disabled, the text is left justified.

  4. If the CENTER property is specified without an assignment, the action is the same as if CENTER=1 were given.

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

  6.  

    Value

    Keyword

    Text centering is ...

    0

    $OFF

    disabled. (default)

    1

    $ON

    enabled.

 

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

 



PL/B Language Reference CAUSEVALID Property CENTERPOS Property