On Wed, 10 May 2000, Ken Bowen wrote:

> 
> What is the trick to making use of the various key bindings 
> for listboxes?? I've experimented with both 8.0 and 8.31 on 
> Windows, and 8.0 on Linux, to no avail.  I've explored both 
> simple code of my own as well as the listbox demos which are 
> shipped with the distributions:
> 
> According to the documentation, the following bindings are 
> installed on listboxes by default.
> 
> [5] If the Up or Down key is pressed, the location cursor (active element) 
>     moves up or down one element. If the selection mode is browse or extended 
>     then the new active element is also selected and all other elements are 
>     deselected. In extended mode the new active element becomes the selection 
>     anchor. 
> [7] The Left and Right keys scroll the listbox view left and right by the 
>     width of the character 0. Control-Left and Control-Right scroll the 
>     listbox view left and right by the width of the window. Control-Prior  
>     and Control-Next also scroll left and right by the width of the window. 
> [8] The Prior and Next keys scroll the listbox view up and down by one page 
>     (the height of the window). 
> [9] The Home and End keys scroll the listbox horizontally to the left and 
>     right edges, respectively. 
> 
> However, none of these appear to work.  

I can't run vTcl where I am this week, but I think you'll find that you
have to select the "takes focus" (or something similar) option in the
attribute editor. Without keyboard focus, I image you'd get what you got!

...RickM...


_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/vtcl-user

Reply via email to