ctrlSetEventHandler

From Bohemia Interactive Community
Revision as of 12:18, 6 July 2006 by Planck (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.50 required.

Description:

Sets given event handler of given control.


Example:

_control ctrlSetEventHandler ["KeyDown", ""]