Real Software Forums

Keyboard problem in Linux
Page 1 of 1

Author:  Paul Burnside [ Thu Feb 07, 2013 12:28 am ]
Post subject:  Keyboard problem in Linux

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
Return true

Case 31 ' move to next row (down key)
if row<me.ListCount-1 then
Return true

Anyone know if this is a bug in RB or just a slow OS handling of the keyboard buffer?

Author:  Nux [ Mon Feb 11, 2013 12:29 am ]
Post subject:  Re: Keyboard problem in Linux

sorry man, i can't reproduce the problem.
I'm developing on Linux debian 2.6.32-5-686 w/ Gnome

are you able to catch the error?

Author:  Paul Burnside [ Mon Feb 11, 2013 2:30 am ]
Post subject:  Re: Keyboard problem in Linux

Thanks for the reply! I'm on Debian 3.4.2 - Ubuntu 12.04-32 bit, Kernel Linux Can't catch the error because the IDE or app simply disappears when the error occurs.

I may send it in as a possible bug just to see if RS can duplicate the problem.

Thanks again

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group