ctrlAddEventHandler

From Bohemia Interactive Community
Revision as of 09:17, 16 October 2011 by .kju (talk | contribs) (Added SEEALSO)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Add an event handler to the given control. Returns id of the handler or -1 when failed.
Groups:
Uncategorised

Syntax

Syntax:
control ctrlAddEventHandler [handler name,function]
Parameters:
control: Control -
[handler name,function]: Array -
Return Value:
Number

Examples

Example 1:
(example)

Additional Information

See also:
displayAddEventHandler

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section