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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TCL extended selection implementation

Status
Not open for further replies.

smithjj

Programmer
Dec 12, 2000
1
US
Is there a way to implement an extended selection in TCL, that is where you can
hightlight items 1, 4, 7 from a list. The selection are not contiguous.
 
Use -selectmode multiple or -selectmode extended.

set lv {1 2 3 4 5}
pack [listbox .lb -selectmode extended -listvariable lv]

ulis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top