Joe, Apparently my erroneous presumption in interpreting what Mark wished was to detect KeyDown events by the ASCII code since KeyDown returns the Key As a String, (If Key = Chr(###) Then //do something).
I have never had any luck on Windows using the hex codes displayed on the Mac Keyboard illustration in the Language Reference in the KeyDown event using Keyboard.AysyncKeyDown(). Perhaps you could provide some useful insight as to how this works because the Language Reference is dismal regarding how this subject. For example: The Mac Keyboard illustration shows the left arrow as &h7B but the example code shows the use of Keyboard.AysyncKeyDown(123) which works on Windows not Keyboard.AysyncKeyDown(&h7B) which doesn't work on Windows. Tom > No, this code prints the ASCII code of the characters the > keys generate. These have nothing to do with the key codes. > > Best, > - Joe _______________________________________________ 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>
