EasyManuals Logo

Siemens SINUMERIK ONE MCP 2400.4c Commissioning Manual

Siemens SINUMERIK ONE MCP 2400.4c
1734 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #772 background imageLoading...
Page #772 background image
Tag identifier Meaning
MOUSE_EVENT The tag can be linked into the script for processing mouse events. It is executed when the
following activities have been performed with the mouse:
A button has been pressed
A button has been released
The mouse has been moved
The parser provides the information in a structure and creates the structure variable
$mouse_event with the following elements:
Structure elements:
type
Coding of the activity
2 - A button has been pressed
3 - A button has been released
5 - The mouse has been moved
x
X-position of the cursor in pixels; relative to the current screen resolution
y
Y-position of the cursor in pixels; relative to the current screen resolution
id
Identifier
-1, if the position cannot be assigned to any control
!= -1, if the mouse cursor is inside a control, the content of attribute idemdata is returned
button
Contains the state of the buttons at the time of the event
0 - No button
1 - Left button
2 - Right button
4 - Center button
The buttons can be associated with a bit-by-bit OR operation.
Example:
<MOUSE_EVENT>
<print text="button %d type %d x %d y %d ">$mouse_event.button,
$mouse_event.type, $mouse_event.x, $mouse_event.y</print>
</MOUSE_EVENT>
Generating user dialogs
1.7 XML identifier
Easy XML
54 Programming Manual, 12/2017, 6FC5397-1DP40-6BA1

Table of Contents

Other manuals for Siemens SINUMERIK ONE MCP 2400.4c

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK ONE MCP 2400.4c and is the answer not in the manual?

Siemens SINUMERIK ONE MCP 2400.4c Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK ONE MCP 2400.4c
CategoryControl Systems
LanguageEnglish

Related product manuals