ctrlSetEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Added a link to UI_EH.)
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.
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 09:45, 11 March 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.

Bottom Section