WINPOS Property
PLBCMP GUI Only
The WINPOS property specifies the position of a window when it is activated. The property uses the following format:
WINPOS={value}
Note the following:
WINPOS may be used in CREATE, SETPROP, or GETPROP statements of WINDOW objects.
The property takes effect during the ACTIVATE instruction.
If $PARENTCENTER is specified for a window type other than modal or modeless, it is treated as a $DESKCENTER specification.
{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 window is ... |
|
0 |
$NONE |
positioned the same as default. |
|
1 |
$ABSOLUTE |
positioned to the top/left of the window. (default). |
|
2 |
$DESKCENTER |
positioned in the center of the desktop. |
|
3 |
$PARENTCENTER |
positioned in the center of the parent window. |
|
4 |
$MAXIMIZE |
maximized. |
|
5 |
$MINIMIZE |
minimized. |
|
6 |
$MAXIMIZEWIDTH |
Windows program is same as $MAXIMIZE. (9.9A)The program maximizes the width and the height is only initially set one time to the window creation height or the client browser viewport height or the client browser viewport width depending on which value is larger. |
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |