At least on Mac ...
if asc(key) = 9 then
do something
return true
end if

Asc(key) = 31 then
do something
return true
end if


Asc(key) = 30 then
do something
return true
end if

Sven E


On 2007-04-26, at 01:32, Pedro fp wrote:

> G'day Folks
>
> After a long hiatus I'm doing a bit of RB programming again.
>
> I'm currently working on something that requires trapping the tab &
> arrow keys in the KeyDown event of an EdifField.
> I thought I might get the tab key with ...
>
>       If Key = Chr(9) Then
>
> But it doesn't work. I have no idea how to catch the arrow keys. Any
> clues?
>
> Cheers, Pedro :-)
>
> Web: <http://www.pedro.net.au/>                         PGP Key ID:
> 387CD96F
> AIM: [EMAIL PROTECTED]     Jabber: [EMAIL PROTECTED]         Yahoo:
> pedro_fp
> ICQ: 27671678               MSN: [EMAIL PROTECTED]     Skype:
> pedrofp
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
> ~~
> ~~~~
> "The Human mind is a product of the Pleistocene age, shaped by
> wildness that
> has all but disappeared. If we complete the destruction of nature we
> will
> have succeeded in cutting ourselves off from the source of sanity
> itself."
>         David Orr, from 'Love it Or Lose it: The Coming Biophilla
> Revolution'
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>
>



Sven E
-----------------------
REALbasic 2007R1 OS X 10.4.8 Intel and 10.4.6 PPC
SEEdit Maxi THE XHTML EDITOR FOR MACINTOSH
http://www.seedit.info



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to