ctrlSetEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
 
mNo edit summary
Line 18: Line 18:
'''Compatibility:'''
'''Compatibility:'''


Version 2.50 required.
Version 2.54 required.


'''Description:'''
'''Description:'''

Revision as of 12:18, 6 July 2006


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", ""]