API System.EnableEvent

From Flowcode Help
Revision as of 11:55, 16 January 2023 by Wiki bot (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Fc9-comp-macro.png EnableEvent
Allows an event to be fired or removes the ability for an event to fire - this may be nested 
Fc9-h32-icon.png - HANDLE Target
The component that would usually recieve the event 
Fc9-string-icon.png - STRING MsgName
The quoted class.name formatted name of the event to release 
Fc9-bool-icon.png - BOOL Enable
True to enable the event, false to disable 
Fc9-void-icon.png - NONE Return


Detailed description

Examples

Calling in a calculation

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