[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: keypresses



Excerpts from internet.listserv.info-mcl: 17-Jan-94 Re:  keypresses by
"Mark A. Tapia"@dgp.toro 
> Notice that #\Home and #\End are the values of the keystrokes for home
> and end:
> 
> (defmethod view-key-event-handler ((self choice-window) char)
>   (select char
>     (#\BackArrow (prev-transform self))
>     (#\ForwardArrow (next-transform self))
>     (#\UpArrow (zoom-in self))
>     (#\DownArrow (zoom-out self))
>     (#\Home (first-transform self))
>     (#\PageUp (prev-transform self))
>     (#\PageDown (next-transform self))
>     (#\End (last-transform self))))
> 

Yeah I did something along those lines myself. The problem is that when
I type home on the keyboard, my view-key-event-handler doesn't get
called, and when I type control-d my view-key-event-handler gets called
with char bound to #\end. It's strange.

Robby
__________________________________________________________________________
Robby Findler                                               robby+@cmu.edu
Carnegie Mellon University    Pittsburgh, PA                (412) 681-4552