API System.ClaimEvent

From Flowcode Help
Revision as of 15:34, 10 May 2013 by Admin (talk | contribs) (XML import of API auto-gen)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

wiki page name

SystemClaimEvent

Claims an event message by name, returns true if claimed


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

BOOL

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")