Am Mit, 10 Mai 2000 schrieb Ken Bowen:
>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
...
>However, none of these appear to work.
>I've also tried directly binding all keypresses on the
>listbox to ring the bell, but again nothing happens.
I did once a search tool (line based) where I showed the
results in a listbox. To control the listbox with keys
I had to do the bindings manually because otherwise the
default bindings only work if the widget has the input
focus.
So i did something like
"bind all <some-key> {some-list-movement; break}"
You need the break because otherwise the default binding
actions add to the manually defined ones.
This way the keys are active no matter what widget is in
focus.
--
Josua Dietze
------------
No sigfile
No ideas
No money ....
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/vtcl-user