On 29 Mar 2012, at 20:38, Jeff Paranich wrote:

> Hi All,
> 
> I have a class that extends Fl_Table and handles FL_KEYUP events such that 
> releasing the up and down keyboard arrows moves a colored line up and down in 
> the table.  However I would like the user to be able to depress AND HOLD the 
> up and down keyboard arrows and the colored line to move up and down the 
> table without the need to release the key.
> 
> On this note I have tried FL_KEYDOWN as well but still can't get the event 
> handler to constantly call the FL_KEYDOWN event case.  I did retry calling 
> the handler (this->handle(e)) within the FL_KEYDOWN scope but the program 
> quickly crashes from overflow.
> 
> If anyone can point me in the right direction I greatly appreciate it!


Hmm, no idea what to suggest...

I wonder why the normal keyboard key-repeat doesn't kick in? Are we doing 
something to suppress it in the fltk keyboard handling? I didn't think that we 
did... anyone know?



_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to