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
Case 31 ' move to next row (down key)
if row<me.ListCount-1 then
Anyone know if this is a bug in RB or just a slow OS handling of the keyboard buffer?