Returns a window dimension, X position, Y position, Width or Height.
|
Syntax:
|
WinBox(generation, dimension type)
|
Parameters:
|
generation: Numeric. A number that represents the task's hierarchic position in the runtime task tree. 0 represents the current task, 1 its immediate ancestor, and so on.
|
|
dimension type: Alpha. A representation of the dimension to be returned. Use X to return the X position, Y to return the Y position, W to return the width, and H to return the height.
|
Returns:
|
Numeric value of the dimension requested.
This function returns the form size * form factors.
|
Example:
|
WinBox (0,'X') will return the form's Left value * Horizontal Factor
|
Platform specific:
|
This function is not supported for mobile devices.
|
See also:
|
The Online and Rich Client Samples projects (program IF03 and RIF03)
|