ctrlRemoveAllEventHandlers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "")
m (Text replacement - " {3,}\|" to " |")
Line 19: Line 19:


| [[Nothing]]
| [[Nothing]]


|x1= <code>_ctrlButton [[ctrlRemoveAllEventHandlers]] "ButtonDown";</code>
|x1= <code>_ctrlButton [[ctrlRemoveAllEventHandlers]] "ButtonDown";</code>


| [[ctrlAddEventHandler]]
| [[ctrlAddEventHandler]]

Revision as of 17:21, 18 January 2021

Hover & click on the images for description

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