displaySetEventHandler – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 2: Line 2:
removeEventHandler seems to be no help with this :-(
removeEventHandler seems to be no help with this :-(
:What about this: _control displaySetEventHandler ["KeyDown", ""]? If it works the same way the other EHs work, this should not work ;) Please sign your comments! --[[User:Raedor|raedor]] 11:15, 11 February 2007 (CET)
:What about this: _control displaySetEventHandler ["KeyDown", ""]? If it works the same way the other EHs work, this should not work ;) Please sign your comments! --[[User:Raedor|raedor]] 11:15, 11 February 2007 (CET)
:hm. that works. And that means we can have the only EH per display. Not good if we want several scripts with keys hooking.--[[User:Bdfy|bdfy]]

Revision as of 13:03, 11 February 2007

Does anybody know how to remove this displaySetEventHandler when needed ? removeEventHandler seems to be no help with this :-(

What about this: _control displaySetEventHandler ["KeyDown", ""]? If it works the same way the other EHs work, this should not work ;) Please sign your comments! --raedor 11:15, 11 February 2007 (CET)
hm. that works. And that means we can have the only EH per display. Not good if we want several scripts with keys hooking.--bdfy