RE [XERTE]: Catching key combinations
Dave Burnett
d_b_burnett at hotmail.com
Tue Jan 11 22:08:03 GMT 2011
Unfortunately, I can't get onKeyDown to fire if ALT is being held down.
================================================
Can't you wait for the key to go down and then do
If (Key.isDown(Key.ALT))
{
//alt and the key are down
}
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
From: d_b_burnett at hotmail.com
To: xerte at lists.nottingham.ac.uk
Subject: Catching key combinations
Date: Thu, 18 Nov 2010 13:10:51 -0500
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/20110111/6c96b53a/attachment.html
More information about the Xerte
mailing list