ctrlRemoveEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(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]] -  |= PARAMETER1
|p1= control: [[Control]] -  |PARAMETER1=  


|p2= [handler name,id]: [[Array]] -  |= PARAMETER2
|p2= [handler name,id]: [[Array]] -  |PARAMETER2=  


|p3= |= PARAMETER3
|p3= |PARAMETER3=  


| Nothing |= RETURNVALUE
| Nothing |RETURNVALUE=  




|x1= <code>_map [[ctrlRemoveEventHandler]] ["Draw", _id];</code>|= EXAMPLE1
|x1= <code>_map [[ctrlRemoveEventHandler]] ["Draw", _id];</code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[ctrlAddEventHandler]], [[ctrlRemoveAllEventHandlers]] |= SEEALSO
| [[ctrlAddEventHandler]], [[ctrlRemoveAllEventHandlers]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 11:30, 7 April 2019

Hover & click on the images for description

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

See also:
ctrlAddEventHandlerctrlRemoveAllEventHandlers

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

Bottom Section