[Xerte] Catching key combinations

Julian Tenney Julian.Tenney at nottingham.ac.uk
Fri Nov 19 08:38:49 GMT 2010


Can't you wait for the key to go down and then do

If (Key.isDown(Key.ALT))
{
  //alt and the key are down
}

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 18 November 2010 18:11
To: Xerte list
Subject: [Xerte] Catching key combinations


I'm trying to keep some alignment in a piece I'm porting from another tool.

Some of the buttons use ALT+someKey as shortcuts.
The onKeyDown event doesn't pick up ALT.
Any ALTernatives?

Dave


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20101119/4ef7fde9/attachment.html


More information about the Xerte mailing list