Oguni, Toshi S wrote: >I created four listbox widgets in a window but only one selection in the set >of listboxes is highlighted at a time. The previous selection was >de-highlighted every time a new selection is made from any other listbox. >How can I keep previous selection from other listbox highlighted as I make >a selection in an adjacent listbox. > Right. This is how it is supposed to work. To select multiple items at one time, you can set "select mode" in the Attribute Editor to multiple or extended. For complete details on all the features of listbox, see your system's documentation for listbox, or, view the online manual page at:
http://www.tcl.tk/man/tcl8.4/TkCmd/listbox.htm > >How do I retrieve selections from a listbox with multiselection. > Here is an example: luke@luke:~> wish % listbox .l -selectmode multiple .l % pack .l Insert some items: % .l insert end abc % .l insert end 123 % .l insert end def Select all the items, and then returns the index numbers: % .l curselection 0 1 2 Get the content of an item: % .l get 0 abc Hope this helps, -- Luke Kale Myers ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ vtcl-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/vtcl-user
