ctrlSetEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(+ category)
No edit summary
Line 29: Line 29:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
The [[User Interface Event Handlers]]. Not all seem to work. [[User:Way|&#91;AOE]Way]]
The [[User Interface Event Handlers]]. Not all seem to work. [[User:Way|&#91;AOE]Way]]<br>
The EH-Name for ctrlSetEventHandler goes without the "on.." at the beginning. ---ManDay
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 11:58, 7 July 2007

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Sets given event handler of given control.
Groups:
Uncategorised

Syntax

Syntax:
control ctrlSetEventHandler [handler name, function]
Parameters:
control: Control
[handler name, function]: Array
Return Value:
Nothing

Examples

Example 1:
_control ctrlSetEventHandler ["KeyDown", ""]

Additional Information

See also:
displaySetEventHandler

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

The User Interface Event Handlers. Not all seem to work. [AOE]Way
The EH-Name for ctrlSetEventHandler goes without the "on.." at the beginning. ---ManDay

Bottom Section