Norman Palardy wrote: > 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
if key = chr(9) works fine on Windows without AcceptTabs. Is this a Mac thing? Tim No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.6.1/776 - Release Date: 4/25/2007 12:19 PM _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
