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!

listbox

Status
Not open for further replies.

mllond

Programmer
Nov 12, 2016
1
US
Hi.
I'm new in tcl and I'm having issues to display the elements of my listbox. I have a list that I want to display in my listbox, but when I use the -listvariable mylist, the items don't show in my list. I have this:

scrollbar frame.sb -command "frame.lbox yview"
set mylist [list a b c d e f]
listbox .frame.lbox -listvariable mylist -yscroll ".frane.sb set" height 3

any comments? thanks a lot.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top