Jump to content

API System.EnableEvent: Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 28: Line 28:


==Detailed description==
==Detailed description==
''<span style="color:red;">No additional information</span>''
 




Line 34: Line 34:
===Calling in a calculation===
===Calling in a calculation===
* Add to a calculation icon: <pre class="brush:[cpp]">::System.EnableEvent(target, "msgname", false)</pre>
* Add to a calculation icon: <pre class="brush:[cpp]">::System.EnableEvent(target, "msgname", false)</pre>
''<span style="color:red;">No additional examples</span>''

Revision as of 11:55, 16 January 2023

EnableEvent
Allows an event to be fired or removes the ability for an event to fire - this may be nested 
- HANDLE Target
The component that would usually recieve the event 
- STRING MsgName
The quoted class.name formatted name of the event to release 
- BOOL Enable
True to enable the event, false to disable 
- NONE Return


Detailed description

Examples

Calling in a calculation

  • Add to a calculation icon:
    ::System.EnableEvent(target, "msgname", false)