Returns the position on the y-axis that represents the height of a specified control or the last parked control
|
Syntax:
|
CHeight(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: CHeight 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.
|
Platform specific:
|
This function is not supported for mobile devices.
|
See also:
|
The Online and Rich Client Samples projects (program IF01and RIF0)
|