The Keyboard Map in the Language Reference does work Cross Platform. It
indicates the F1 key is &h7A so if you want to use Keyboard.AsyncKeyDown
then the proper form in the KeyDown event would be:

  If Keyboard.AsyncKeyDown(&h7A)Then // Do Something

or the Decimal equivalent:

  Keyboard.AsyncKeyDown(122) // Do Something

 If you are using the Key As String return form the KeyDown event use:

   If Key = Chr(200) Then // Do Something


HTH

Tom

> I cannot get the key codes for the F1 key to work with code 
> provided on the mac key map.
> I have found that if I use Keyboard.AsyncDown(200) or 
> key(200) then it responds to a press of the F1 key.
> I found the (200) code from browsing the forums at 
> realbasic.com, I was wondering how the person knew that but 
> they never responded.
_______________________________________________
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