Difference between revisions of "displayRemoveEventHandler"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (fixed example (Command returns nothing) and formatted note)
m
Line 45: Line 45:
 
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
 
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
 
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Command_Group:_Event_Handlers|{{uc:{{PAGENAME}}}}]]
  
 
<!-- CONTINUE Notes -->
 
<!-- CONTINUE Notes -->

Revision as of 08:46, 11 August 2020

Template:Command

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];