dojo - Capturing Keyboard Events in Dojox GFX -


Is it possible to capture keyboard events in the diagram using Dojox.GFX?

We have a simple graphical application that includes some of the shapes drawn on the surface, we want to add some simple keyboard interactions, e.g. Use "Ctrl + A" to remove the shape and to select all the shapes by using the deleted key.

I tried to encrypt the size for "dokey.connect" and "size", but "onkeyup" did not seem to trigger that we were already capturing mouse events And they are working fine.

David

does not point to keyboard events They are essentially global, you can call them document or body .

A handler should be attached worldwide.

Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -