At 7:25 PM +0200 4/11/06, Sven E Olsson wrote:

This code is not working, the Keyboard.ControlKey is fired properly, but the 'Key' (from the KeyDown event) is blank.
Checked in the Debugger ( size 1 ASCII / but blank )
In the Keyboard.OsKey the 'Key' variable is shown properly in the Debugger.

  if Keyboard.ControlKey = true then
    if key = Lowercase("a") then
      JumpTwice()
      Return true
    end if
  end if

It's working fine; if you're holding the Control key when you push the key labelled "a", you don't get an "a" at all, you get a Control-A, which is a completely different character (ASCII code 1).

What's the point of Lowercase("a"), BTW?  "a" is already lowercase.

Best,
- Joe

--

Joseph J. Strout
[EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to