ctrlRemoveEventHandler: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (Moving note to talk, has nothing to do with removeEH command) |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
| control '''ctrlRemoveEventHandler''' [handler name,id] |= Syntax | | control '''ctrlRemoveEventHandler''' [handler name,id] |= Syntax | ||
|p1= control: [[Control]] - |= | |p1= control: [[Control]] - |PARAMETER1= | ||
|p2= [handler name,id]: [[Array]] - |= | |p2= [handler name,id]: [[Array]] - |PARAMETER2= | ||
|p3= |= | |p3= |PARAMETER3= | ||
| Nothing |= | | Nothing |RETURNVALUE= | ||
|x1= <code>_map [[ctrlRemoveEventHandler]] ["Draw", _id];</code>|= | |x1= <code>_map [[ctrlRemoveEventHandler]] ["Draw", _id];</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[ctrlAddEventHandler]], [[ctrlRemoveAllEventHandlers]] |= | | [[ctrlAddEventHandler]], [[ctrlRemoveAllEventHandlers]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:30, 7 April 2019
Description
- Description:
- Remove a given event handler from the given control.
- Groups:
- Uncategorised
Syntax
- Syntax:
- control ctrlRemoveEventHandler [handler name,id]
- Parameters:
- control: Control -
- [handler name,id]: Array -
- Return Value:
- Nothing
Examples
- Example 1:
_map ctrlRemoveEventHandler ["Draw", _id];
Additional Information
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