Brad Lanam
unread,Oct 13, 2015, 12:36:45 PM10/13/15You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I have a bind for the arrow keys so that they can be used in the scrollable area to scroll the window up and down:
bind all <<PrevLine>> +[list ::scrolldata::arrowHandler $w $sb -1]
bind all <<NextLine>> +[list ::scrolldata::arrowHandler $w $sb 1]
The problem is if the focus is on a combobox in the scrollable area is active, then the mouse pointer is moved outside of the combobox, the arrow keys should ideally scroll the area, but instead *both* the scroll and the combobox arrow bindings are activated.
I tried 'return -code break', but that does not seem to help. A bare 'continue'/'break' cannot be used in the arrowHandler proc, it complains about not being in a loop. Removing the pre-pended + doesn't help.
Is there a proper way to deal with this?
I guess I will try resetting the focus (since I do know it's outside a combobox) next.