On 25-Apr-07, at 5:32 PM, 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?

Enable AcceptTabs and your code works

left = 28
right = 29
up = 30
down = 31

make sure you return true for all key strokes you capture and handle
_______________________________________________
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