Returns the position on the x-axis relative to the window of a specified control or to its container control.
|
Syntax:
|
CX(control name, generation)
|
Parameters:
|
control name: The name of the control. If you specify an empty string (''), the last parked control will be used.
|
|
generation: 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.
|
Returns:
|
Position in units of measurement.
NOTE: CX will always return the original position (at 100%) of the control irrespective of its scaled size. Since version: 4.6
|
Note:
|
Only parkable controls set the values for the function. A parkable control is a control with data or a control that may return an action.
|
Exceptions:
|
This function is not supported in Web Client tasks.
|
See also:
|
CY
The Online and Rich Client Samples projects (program IF01and RIF01)
|