Cicode Programming Reference > Cicode Function Categories > Process Analyst Functions Introduction > ProcessAnalystPopup

ProcessAnalystPopup

Displays a Process Analyst page (in a new page child window) at the current mouse position preloaded with the pre-defined Process Analyst View (PAV) file.

Syntax

ProcessAnalystPopup(sPage [, sPAVFile [, iFileLocation [, iButtonMask [, sObjName [, iMode ]]]]])

sPage:

The name of the page that contains Process Analyst object(s). For example, pages based on the Process Analyst templates found in the Tab_Style_Include project.

sPAVFile:

Name of the PAV file

iFileLocation:

PAV file location code for the PAV file, see PA doc LoadFromFile() for details.

iButtonMask:

Bit mask for removing command buttons from the PA, bit flags as shown below:

sObjName:

Name of the PA object on the given Page where the PAV file will be loaded. If this parameter is not specified or empty string, it is defaulted to the object name used in the tab style templates, that is "_templatePA1".

iMode:

The mode of the window (see WinNewAt() for details).

Return Value

Window number if the window is successfully displayed. Otherwise -1 is returned.

Related Functions

PageProcessAnalyst, PageProcessAnalystPens, ProcessAnalystLoadFile, ProcessAnalystSelect, ProcessAnalystSetPen, ProcessAnalystWin, TrnSetPen, WinNewAt

See Also

Process Analyst Functions