New topic: Keyboard problem in Linux
<http://forums.realsoftware.com/viewtopic.php?t=46851> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message Paul Burnside Post subject: Keyboard problem in LinuxPosted: Thu Feb 07, 2013 12:28 am Joined: Mon May 08, 2006 8:50 pm Posts: 776 I'm trying to move the EditCell up/down through rows within a listbox using the up/down keys. The code below ( in CellKeyDown Event of the listbox ) works great in Windows but crashes in Linux if the user holds an up/down key too long or repeatedly presses one of the keys too soon. I suspect it has something to do with the keyboard buffer but, as I said, it works perfectly in Windows. // Use arrow keys to scroll the editcell up/down // through rows in listbox. Select Case asc(key) Case 30 ' move to previous row (up key) if row>0 then row=row-1 me.EditCell(row,column) else Return true end Case 31 ' move to next row (down key) if row<me.ListCount-1 then row=row+1 me.EditCell(row,column) else Return true end end Anyone know if this is a bug in RB or just a slow OS handling of the keyboard buffer? Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
