ProcessAnalystWin
Displays a Process Analyst page (in a new window) preloaded with the pre-defined Process Analyst View (PAV) file.
Syntax
ProcessAnalystWin(sPage, iX, iY, iMode [, sPAVFile [, iFileLocation [, iButtonMask [, sObjName ]]]])
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.
iX:
The X pixel coordinate
iY:
The Y pixel coordinate
iMode:
The mode of the window (see WinNewAt() for details).
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".
Return Value
Window number if the window is successfully displayed. Otherwise -1 is returned.
Related Functions
PageProcessAnalyst, PageProcessAnalystPens, ProcessAnalystLoadFile, ProcessAnalystPopup,ProcessAnalystSelect, ProcessAnalystSetPen, TrnSetPen, WinNewAt
See Also