Cicode Programming Reference > Cicode Function Categories > Page Functions Introduction > PageProcessAnalyst

PageProcessAnalyst

Displays a Process Analyst page (in the same window) preloaded with the pre-defined Process Analyst View (PAV) file.

Syntax

PageProcessAnalyst(sPage, sPAVFile1 [, iFileLocation1 [, iButtonMask1 [, sObjName1 [, sPAVFile2 [, iFileLocation2 [, iButtonMask2 [, sObjName2 ]]]]]]])

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.

sPAVFile1:

Name of the 1st PAV file

iFileLocation1:

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

iButtonMask1:

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

sObjName1:

Name of the PA object on the given Page where the 1st 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".

sPAVFile2:

Name of the 2nd PAV file

iFileLocation2:

PAV file location code for the 2nd PAV file

iButtonMask2:

Bit mask for removing command buttons from the 2nd PA, refer iButtonMask1 for details

sObjName2:

Name of the PA object on the given Page where the 2nd 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 "_templatePA2".

Return Value

Zero (0) if the page is successfully displayed. Otherwise an error is returned.

Related Functions

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

See Also

Page Functions