Difference between revisions of "Event Mouse.Click"

From Flowcode Help
Jump to navigationJump to search
(XML import)
 
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Click'''
 +
|-
 +
| colspan="2" | Post when the mouse is clicked on a child of the component during simulation 
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE
 +
| width="90%" | Component
 +
|-
 +
| colspan="2" | The component clicked on 
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
 +
| width="90%" | X
 +
|-
 +
| colspan="2" | X coordinate relative to 'Component' 
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
 +
| width="90%" | Y
 +
|-
 +
| colspan="2" | Y coordinate relative to 'Component' 
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
 +
| width="90%" | Z
 +
|-
 +
| colspan="2" | Z coordinate relative to 'Component' 
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - NONE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
Sent when the mouse is clicked on a child of the component during simulation
 
  
This event is part of the [[Event class Mouse|Mouse]] class
+
Details on using Event Macros can be found here: [[Simulation Events|Event Macros]]
  
__TOC__
 
 
[[Variable types|HANDLE]] ''Component''
 
:The component clicked on
 
 
[[Variable types|FLOAT]] ''X''
 
:X coordinate relative to 'Component'
 
 
[[Variable types|FLOAT]] ''Y''
 
:Y coordinate relative to 'Component'
 
 
[[Variable types|FLOAT]] ''Z''
 
:Z coordinate relative to 'Component'
 
 
==Return value==
 
[[Variable types|ULONG]]
 
 
The return of this event is currently unused
 
  
 +
==Detailed description==
  
==Detailed description==
 
''<span style="color:red;">No additional information</span>''
 
  
  
 
==Examples==
 
==Examples==
''<span style="color:red;">No additional information</span>''
 

Latest revision as of 12:12, 16 January 2023

Fc9-comp-macro.png Click
Post when the mouse is clicked on a child of the component during simulation 
Fc9-h32-icon.png - HANDLE Component
The component clicked on 
Fc9-f32-icon.png - FLOAT X
X coordinate relative to 'Component' 
Fc9-f32-icon.png - FLOAT Y
Y coordinate relative to 'Component' 
Fc9-f32-icon.png - FLOAT Z
Z coordinate relative to 'Component' 
Fc9-void-icon.png - NONE Return


Details on using Event Macros can be found here: Event Macros


Detailed description

Examples