displaySetEventHandler – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
: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]]
: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]]
----
Handler name can be: Char, KeyUp, KeyDown, ChildDestroyed, Unload, and ??? --[[User:Doolittle|Doolittle]] 07:42, 25 January 2008 (CET)

Revision as of 07:42, 25 January 2008

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

Handler name can be: Char, KeyUp, KeyDown, ChildDestroyed, Unload, and ??? --Doolittle 07:42, 25 January 2008 (CET)