Difference between revisions of "API System.EnableEvent"
From Flowcode Help
Jump to navigationJump to search (XML import)  | 
				 (XML import)  | 
				||
| Line 3: | Line 3: | ||
<div style="width:25%; float:right" class="toc">  | <div style="width:25%; float:right" class="toc">  | ||
| − | ===Class hierarchy===[[API System|System]]  | + | ====Class hierarchy====  | 
| + | [[API System|System]]  | ||
:[[API System|EnableEvent]]  | :[[API System|EnableEvent]]  | ||
</div>  | </div>  | ||
| Line 9: | Line 10: | ||
==Parameters==  | ==Parameters==  | ||
| − | + | [[Variable types|HANDLE]] ''Target''  | |
:The component that would usually recieve the event  | :The component that would usually recieve the event  | ||
| − | + | [[Variable types|STRING]] ''MsgName''  | |
:The quoted class.name formatted name of the event to release  | :The quoted class.name formatted name of the event to release  | ||
| − | + | [[Variable types|BOOL]] ''Enable''  | |
:True to enable the event, false to disable  | :True to enable the event, false to disable  | ||
| Line 22: | Line 23: | ||
==Detailed description==  | ==Detailed description==  | ||
| − | ''No additional information''  | + | ''<span style="color:red;">No additional information</span>''  | 
| + | |||
==Examples==  | ==Examples==  | ||
===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 information</span>''  | ||
Revision as of 22:12, 11 May 2013
<sidebar>API contents</sidebar> Allows an event to be fired or removes the ability for an event to fire - this may be nested
Contents
Parameters
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
 
Return value
This call does not return a value
Detailed description
No additional information
Examples
Calling in a calculation
- Add to a calculation icon: 
::System.EnableEvent(target, "msgname", false)
 
No additional information