<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<br><br><br>Unfortunately, I can't get onKeyDown to fire if ALT is being held down.<br><br><br>================================================<br>Can't you wait for the key to go down and then do<br><pre><br>If (Key.isDown(Key.ALT))<br>{<br> //alt and the key are down<br>}<br><br>Sent: 18 November 2010 18:11<br>To: Xerte list<br>Subject: [Xerte] Catching key combinations<br><br><br>I'm trying to keep some alignment in a piece I'm porting from another tool.<br><br>Some of the buttons use ALT+someKey as shortcuts.<br>The onKeyDown event doesn't pick up ALT.<br>Any ALTernatives?<br><br>Dave<br></pre><br><br><br><br><hr id="stopSpelling">From: d_b_burnett@hotmail.com<br>To: xerte@lists.nottingham.ac.uk<br>Subject: Catching key combinations<br>Date: Thu, 18 Nov 2010 13:10:51 -0500<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
<br>I'm trying to keep some alignment in a piece I'm porting from another tool.<br><br>Some of the buttons use ALT+someKey as shortcuts.<br>The onKeyDown event doesn't pick up ALT.<br>Any ALTernatives?<br><br>Dave<br><br><br><br>                                            </body>
</html>