[plt-scheme] redirecting keyboard events
Yes, I did consider that. The problem is that I only want to divert the
up/down arrow keys, all other keypresses should be handled by whatever
control has the focus. I understand this kind of re-wiring is usually
surprising for the user but in this case the user (i.e. me) needs things to
work in a peculiar way.
-pp
On 1/27/06, Robby Findler <robby at cs.uchicago.edu> wrote:
>
> Have you considered just setting the focus to the listbox instead? I
> believe that will fit better with other apps (ie, be less confusing
> to the user).
>
> Robby
>
> On Jan 27, 2006, at 10:32 AM, pedro pinto wrote:
>
> > Hi there,
> >
> > I have a dialog in which I would like to direct all arrow key
> > events to a specific control (a list-box). I have been able to
> > intercept keyboard events by overriding the dialogs on-subwindow-
> > char but I am not sure how to forward them to the list box (I do
> > not want to mess with the current input focus).
> >
> > Is there a clean way to do this?
> >
> > Thanks in advance,
> > -pp
> >
> > _________________________________________________
> > For list-related administrative tasks:
> > http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20060127/4a197c9c/attachment.html>