Difference between revisions of "displayRemoveEventHandler"
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | Remove a given event handler from the given display. |= | + | | Remove a given event handler from the given display. |DESCRIPTION= |
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | display '''displayRemoveEventHandler''' [handler name,id] |= | + | | display '''displayRemoveEventHandler''' [handler name,id] |SYNTAX= |
|p1= display: [[Display]] |PARAMETER1= | |p1= display: [[Display]] |PARAMETER1= |
Revision as of 14:38, 7 April 2019
Hover & click on the images for descriptions
Description
- Description:
- Remove a given event handler from the given display.
Syntax
- Syntax:
- display displayRemoveEventHandler [handler name,id]
- Parameters:
- display: Display
- [handler name,id]: Array
- Return Value:
- Nothing
Examples
- Example 1:
-
moduleName_keyDownEHId = (findDisplay 46) displayRemoveEventHandler ["keyDown",5];
Additional Information
- See also:
- disableSerializationDisplaydisplayAddEventHandlerdisplayRemoveAllEventHandlers
- Groups:
- Uncategorised
Notes
Notes
Bottom Section
- Posted on April 19, 2015 - 21:25 (UTC)
- IT07
-
If you for example used this code to add the eventHandler:
_myEH = (findDisplay 46) displayAddEventHandler ["KeyDown", "hint str _this"];
Then this would be the correct code to remove that eventHandler again:(findDisplay 46) displayRemoveEventHandler ["KeyDown", _myEH];
Categories:
- Pages using duplicate arguments in template calls
- Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: New Scripting Commands
- Command Group: Uncategorised
- Introduced with Arma 2 version 1.00
- ArmA 2: New Scripting Commands List
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- Command Group: GUI Control