ctrlSetEventHandler

From Bohemia Interactive Community
Revision as of 12:18, 6 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


control ctrlSetEventHandler [handler name, function]


Operand types:

control: Control

[handler name, function]: Array

Type of returned value:

Nothing

Compatibility:

Version 2.54 required.

Description:

Sets given event handler of given control.


Example:

_control ctrlSetEventHandler ["KeyDown", ""]