ctrlRemoveAllEventHandlers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|gr1= GUI Control |GROUP1= |gr1= GUI Control |GROUP1=" to "|gr1= GUI Control |GROUP1=")
mNo edit summary
Line 24: Line 24:




|x1= <code>(example)</code>|EXAMPLE1=  
|x1= <code>_ctrlButton [[ctrlRemoveAllEventHandlers]] "ButtonDown";</code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


| |SEEALSO=  
| [[ctrlAddEventHandler]] |SEEALSO=  
 
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}



Revision as of 18:31, 29 September 2020

Hover & click on the images for description

Description

Description:
Remove all event handlers from the given control.
Groups:
GUI ControlEvent Handlers

Syntax

Syntax:
control ctrlRemoveAllEventHandlers handlerName
Parameters:
control: Control -
handlerName: String -
Return Value:
Nothing

Examples

Example 1:
_ctrlButton ctrlRemoveAllEventHandlers "ButtonDown";

Additional Information

See also:
ctrlAddEventHandler

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