controlName ctrlAddEventHandler [handler name, function]
Operand types
controlName:
Control[handler name, function]:
Array
Type of returned value
Description
Add an event handler to the given control.
Returns id of the handler or -1 when failed.
Used In
Arma2
Example
_id = _control ctrlAddEventHandler ["KeyDown", ""]