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.
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.