Richmond wroe:
> I would love to be able to trap when a modifier key is down like this:
>
> on shiftKeyDown
>     do blah, blah, blah
> end shiftKeyDown
>
> but it seems that that is not possible in LievCode, unless, of course,
> I'm missing something . . .
>
> Richmond.

I can only determine its state within an if-then statement.  Perhaps try a
rawKey handler.

on mouseUp
   if the shiftKey is down then
      answer "DOWN, the shiftKey is."
   else
      answer "UP, the shiftKey is."
   end if
end mouseUp

~Roger


_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to