ctrlSetEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(+ category)
Line 37: Line 37:
[[Category:Scripting Commands|CTRLSETEVENTHANDLER]]
[[Category:Scripting Commands|CTRLSETEVENTHANDLER]]
[[Category:Scripting Commands ArmA|CTRLSETEVENTHANDLER]]
[[Category:Scripting Commands ArmA|CTRLSETEVENTHANDLER]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]

Revision as of 21:42, 29 April 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

Bottom Section