ctrlSetEventHandler: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| arma |= Game name | |||
|2.54|= Game version | |||
____________________________________________________________________________________________ | |||
| Sets given event handler of given control. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | control '''ctrlSetEventHandler''' [handler name, function] |= Syntax | ||
|p1= control: [[Control]] |= Parameter 1 | |||
|p2= [handler name, function]: [[Array]] |= Parameter 2 | |||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>_control ctrlSetEventHandler ["KeyDown", ""]</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|CTRLSETEVENTHANDLER]] | |||
[[Category:Scripting Commands ArmA|CTRLSETEVENTHANDLER]] | |||
Revision as of 23:17, 1 August 2006
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:
- See also needed
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