Difference between revisions of "API System.ReleaseEvent"

From Flowcode Help
Jump to navigationJump to search
(XML import API changes)
(XML import)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<sidebar>API contents</sidebar>
+
<sidebar>API Contents</sidebar>
 
Releases a previously claimed an event message by name, returns true if released
 
Releases a previously claimed an event message by name, returns true if released
  
Line 10: Line 10:
  
 
==Parameters==
 
==Parameters==
[[Variable types|HANDLE]] ''Target''
+
[[Variable Types|HANDLE]] ''Target''
 
:The component that would usually recieve the event
 
:The component that would usually recieve the event
  
[[Variable types|STRING]] ''MsgName''
+
[[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
  
  
 
==Return value==
 
==Return value==
[[Variable types|BOOL]]
+
[[Variable Types|BOOL]]
  
 
Returns true if released
 
Returns true if released
Line 32: Line 32:
 
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::System.ReleaseEvent(target, "msgname")</pre>
 
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::System.ReleaseEvent(target, "msgname")</pre>
  
''<span style="color:red;">No additional information</span>''
+
''<span style="color:red;">No additional examples</span>''

Latest revision as of 15:58, 16 January 2014

<sidebar>API Contents</sidebar> Releases a previously claimed an event message by name, returns true if released

Class hierarchy

System

ReleaseEvent

Parameters

HANDLE Target

The component that would usually recieve the event

STRING MsgName

The quoted class.name formatted name of the event to release


Return value

BOOL

Returns true if released


Detailed description

No additional information


Examples

Calling in a calculation

  • Declare a variable 'result' of type BOOL
  • Add to a calculation icon:
    result = ::System.ReleaseEvent(target, "msgname")

No additional examples