Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

use arrow keys - listbox, TX

Status
Not open for further replies.

ee1

Programmer
May 31, 2011
25
0
0
IL
Hi,
i have created a listbox but i cant nevigate with the arrow key,
anyone has an idea why?...
thanks!
 
hi erez,

you might want to try to force the focus on the widget first with:
bind $w <<ListboxSelect>> "focus -force $w"

w=listbox path

 
:)
worked...
but now i am dealing with another problem,
how can i select with the ENTER key?...
(kiid of new to TK...)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top