Discuss this page on this pages TalkPage

objFireItemEvent

Syntax (objFireItemEvent obj item event [data])
Arguments obj: A space object to trigger the event from - usually the space object holding the item.
item: the item the event is stored on
event: the name of the event on the item
[data]: (optional) Arbitrary data to pass on to the item event
Returns Result of the event, or Nil
Category spaceObject functions
Description Allows a space object to immediately fire an event on an item.

Example

 (objFireItemEvent gSource theItem "Success") 

Fires the event named “Success” on theItem.

Return to Space Object functions list

Return to functions list