displaySetEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
 
mNo edit summary
Line 3: Line 3:




 
<h2 style="color:#000066">'''''display'' displaySetEventHandler ''[handler name, function]'''''</h2>
<h2 style="color:#000066">''display'' ''''' displaySetEventHandler ''''' ''[handler name, function]''</h2>




Line 24: Line 23:


Sets given event handler of given display.
Sets given event handler of given display.


'''Example''':
'''Example''':
      
      
_control '''displaySetEventHandler''' ["KeyDown", ""]
_control '''displaySetEventHandler''' ["KeyDown", ""]

Revision as of 11:47, 4 July 2006


display displaySetEventHandler [handler name, function]


Operand types:

display: Display

[handler name, function]: Array

Type of returned value:

Nothing

Compatibility:

Version 2.54 required.

Description:

Sets given event handler of given display.


Example:

_control displaySetEventHandler ["KeyDown", ""]