Difference between revisions of "API System.ClaimEvent"
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 | | + | ===Class hierarchy===[[API System|System]] |
− | :[[API System| | + | :[[API System|ClaimEvent]] |
− | |||
</div> | </div> | ||
__TOC__ | __TOC__ |
Revision as of 21:25, 11 May 2013
<sidebar>API contents</sidebar> Claims an event message by name, returns true if claimed
===Class hierarchy===System
Parameters
HANDLE Target
- The component that would usually recieve the event
STRING MsgName
- The quoted class.name formatted name of the event to claim
Return value
Returns true if claimed
Detailed description
No additional information
Examples
Calling in a calculation
- Declare a variable 'result' of type BOOL
- Add to a calculation icon:
result = ::System.ClaimEvent(target, "msgname")