CHAPTER 6 – Functions and Methods
Remarks
Argument
pagename
Typical Examples
display ("CAR")
The page 'CAR.PAG' is displayed.
textpoint = "CAR"
display(textpoint)
The page 'CAR.PAG' is displayed.
display("CAR", 100, 200)
The page 'CAR.PAG' is displayed in a custom position, 100 pixels across from the left of the main
window and 200 pixels down from the top.
Close Page
Syntax
close ("pagename")
Remarks
Argument
pagename
Note:
The 'close' operation will cause the page to be unloaded, including all objects,
ActiveX controls and scripts. Care must be taken not to attempt to access them after the
close instruction.
Note:
Where the script containing the 'close' instruction is on the page to be closed, this
should be the last instruction in the script as it will cause the script to be unloaded.
Typical Examples
close("CAR")
The page 'CAR.PAG' is closed.
textpoint = "CAR"
close(textpoint)
The page 'CAR.PAG' is closed.
Page 48
This is the name of the page for display, based on its filename without the file
extension, e.g. the pagename for CAR.PAG is simply 'CAR'.
This is the name of the page for closure, based on its filename without the file
extension, e.g. the pagename for CAR.PAG is simply 'CAR'. The pagename
for closure must be currently open.
Description
Description
OMRON
Revision 2.0
Need help?
Do you have a question about the CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 and is the answer not in the manual?
Questions and answers