ctrlRemoveAllEventHandlers: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 8: | Line 7: | ||
|gr1= GUI Control - Event Handlers |GROUP1= | |gr1= GUI Control - Event Handlers |GROUP1= | ||
|gr2= Event Handlers |GROUP2= | |gr2= Event Handlers |GROUP2= | ||
| Remove all event handlers from the given control. |DESCRIPTION= | | Remove all event handlers from the given control. |DESCRIPTION= | ||
| control '''ctrlRemoveAllEventHandlers''' handlerName |SYNTAX= | | control '''ctrlRemoveAllEventHandlers''' handlerName |SYNTAX= | ||
Line 26: | Line 23: | ||
|x1= <code>_ctrlButton [[ctrlRemoveAllEventHandlers]] "ButtonDown";</code>|EXAMPLE1= | |x1= <code>_ctrlButton [[ctrlRemoveAllEventHandlers]] "ButtonDown";</code>|EXAMPLE1= | ||
| [[ctrlAddEventHandler]] |SEEALSO= | | [[ctrlAddEventHandler]] |SEEALSO= |
Revision as of 00:39, 17 January 2021
Description
- Description:
- Remove all event handlers from the given control.
- Groups:
- GUI Control - Event HandlersEvent 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