displayRemoveAllEventHandlers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:ArmA 2: New Scripting Commands List\|{{uc:{{PAGENAME}}}}\]\]\s*" to "")
(Add example)
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| display '''displayRemoveAllEventHandlers''' handlerName |SYNTAX=
| display [[displayRemoveAllEventHandlers]] eventName |SYNTAX=


|p1= display: [[Display]] |PARAMETER1=  
|p1= display: [[Display]] |PARAMETER1=


|p2= handlerName: [[String]] |PARAMETER2=  
|p2= eventName: [[String]] |PARAMETER2=


|p3= |PARAMETER3=
| [[Nothing]] |RETURNVALUE=
 
| Nothing |RETURNVALUE=
 
 
|x1= <code>(example)</code>|EXAMPLE1=  


|x1= <code>([[findDisplay]] 46) [[displayRemoveAllEventHandlers]] "KeyDown";</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[displayAddEventHandler]], [[displayRemoveEventHandler]] |SEEALSO=  
| [[displayAddEventHandler]], [[displayRemoveEventHandler]] |SEEALSO=  
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}


Line 40: Line 33:
<h3 style='display:none'>Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>


[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]

Revision as of 00:57, 5 January 2020

Hover & click on the images for description

Description

Description:
Remove all event handlers from the given display.
Groups:
Uncategorised

Syntax

Syntax:
display displayRemoveAllEventHandlers eventName
Parameters:
display: Display
eventName: String
Return Value:
Nothing

Examples

Example 1:
(findDisplay 46) displayRemoveAllEventHandlers "KeyDown";

Additional Information

See also:
displayAddEventHandlerdisplayRemoveEventHandler

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