cypress has asked for the wisdom of the Perl Monks concerning the following question:

I have a Tk window with multiple Listboxes. I'd like to use selectionSet() to select as initial values -- AT THE SAME TIME -- an index in each of these boxes. However, it seems only one Listbox can have a value(s) selected at any given time. (This appears to be true whether the user selects Listbox values by mouse click or the values are selected in code via selectionSet().)

Any way to accomplish simultaneous selects? Thanks, cypress

Replies are listed 'Best First'.
Re: multiple Tk Listboxes & selectionSet()
by eserte (Deacon) on Mar 10, 2008 at 22:57 UTC
    Try the -exportselection option.
      Thanks eserte - this worked for me.
      -exportselection=>'false'