Omron CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 Reference Manual page 63

Script language
Table of Contents

Advertisement

CHAPTER 6 – Functions and Methods
Remarks
Argument
returnstate
objectname
OLEVerbNumber
Typical Example
PlayOLE("ole_1",0)
The object 'ole_1' is played using its primary verb.
DisplayPicture
Description
Reload a picture for a Picture object.
Syntax
returnstate = DisplayPicture("objectname", filename)
Remarks
Argument
returnstate
objectname
filename
Typical Example
DisplayPicture("Bitmap_1","C:\Application\Floorplan1.bmp")
Page 50
Type
bool
Returnstate is '1' if the function is successful, or '0' otherwise.
string
The identifier of the OLE object to be played.
integer
The verb number has a specific meaning to the OLE
application. Typical values are:
0: specifies the action that occurs when an end-user double
clicks the object in its container. The object determines this
action (often 'edit' or 'play').
-1: instructs the object to show itself for editing or viewing.
Usually an alias for some other object-defined verb.
-2: instructs an object to open itself for editing in a window
separate from that of its container.
-3: causes an object to remove its user interface from the view.
Applies only to objects that are activated in-place.
Positive numbers designate object specific verbs.
Type
bool
Returnstate is '1' if the function is successful, or '0' otherwise.
string
The identifier of the bitmap object with a to be loaded and
displayed
string
The filename of the bitmap to be displayed. This can be a
constant (inside quotes) or a text point.
Description
Description
Revision 2.0
OMRON

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

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

This manual is also suitable for:

Cx-supervisor 2.0

Table of Contents