Salesforce

CY (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

CY (Magic xpa 4.x)

Returns the position on the y-axis relative to the window of a specified control or to its container control.

Syntax:

CY(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: CY 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:

CX

The Online and Rich Client Samples projects (program IF01and RIF01)

Reference
Attachment 
Attachment