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:
CENTERPOS may be used in CREATE statements of an EDITTEXT object.
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.
{value} 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 |
The objects vertical position is ... |
|
0 |
$CENTERPOS |
centered. (default) |
|
1 |
$TOPLEFTPOS |
top left. |
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |