ctrlAddEventHandler: Difference between revisions
Jump to navigation
Jump to search
(populated with empty template) |
(populated) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Add an event handler to the given control. Returns id of the handler or -1 when failed. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| ''' | | control '''ctrlAddEventHandler''' [handler name,function] |= Syntax | ||
|p1= |= PARAMETER1 | |p1= control: [[Control]] - |= PARAMETER1 | ||
|p2= |= PARAMETER2 | |p2= [handler name,function]: [[Array]] - |= PARAMETER2 | ||
|p3= |= PARAMETER3 | |p3= |= PARAMETER3 | ||
| |= RETURNVALUE | | [[Number]] |= RETURNVALUE | ||
Revision as of 03:57, 4 June 2009
Description
- Description:
- Add an event handler to the given control. Returns id of the handler or -1 when failed.
- Groups:
- Uncategorised
Syntax
- Syntax:
- control ctrlAddEventHandler [handler name,function]
- Parameters:
- control: Control -
- [handler name,function]: Array -
- Return Value:
- Number
Examples
- Example 1:
(example)
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