Salesforce

MainDisplay (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

MainDisplay (Magic xpa 3.x)

Returns the index of the form that is currently being displayed.

Syntax:

MainDisplay(generation)

Parameters:

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:

The form index identifier as displayed in the Form Editor.

Example:

The current task has two forms with form index identifiers 2 and 3. If the form displayed has 3, the MainDisplay returns 3.

Note:

If the Open task window property is set to No, this function returns 0.

See also:

The Online and Rich Client Samples projects (program TF11 and RTF11)

Reference
Attachment 
Attachment