ctrlSetEventHandler

From Bohemia Interactive Community
Revision as of 11:58, 7 July 2007 by manday (talk | contribs)
Jump to navigation Jump to search
-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Sets given event handler of given control.
Groups:
Uncategorised

Syntax

Syntax:
control ctrlSetEventHandler [handler name, function]
Parameters:
control: Control
[handler name, function]: Array
Return Value:
Nothing

Examples

Example 1:
_control ctrlSetEventHandler ["KeyDown", ""]

Additional Information

See also:
displaySetEventHandler

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

The User Interface Event Handlers. Not all seem to work. [AOE]Way
The EH-Name for ctrlSetEventHandler goes without the "on.." at the beginning. ---ManDay

Bottom Section