PagePopUp
Display pop up window at the mouse position. If the mouse position is not known then the pop up will display in the centre of the screen. The window is displayed with no resize and will be closed if the page is changed.
Syntax
PagePopUp(sPage)
sPage:
The name of the page (drawn with the Graphics Builder).
Return Value
0 (zero) if successful, otherwise an error is returned.
Note: Before CitectSCADA version 5.0, page records
could be edited in the Project Editor. One of the fields available
for configuration was "Page Number". The value entered for a page
could then be used in runtime with the Page Cicode functions such
as PageDisplay()
, PageGoto()
, and PageInfo(1)
.
For example, PageDisplay("1")
can
be used to display the page that has "1" (without the quotes) set
in the Page Number field. PageInfo(1)
returns the Page Number of the
current page.
From version 5.0 on, this feature is only backwards-supported. The
"Alias" field in the project Pages.DBF file still contains the Page
Numbers from upgraded projects; however, the Pages database records
are no longer available for direct editing in CitectSCADA.
Related Functions
PageLast, PagePeekCurrent, PagePeekLast, PagePopLast, PagePushLast
See Also