From: Mike Hall Date: 2003-12-15T12:06:58+09:00 Subject: Re: Tk emergency Carl Youngblood wrote: >I'm trying to code up a quick app with an urgent deadline and I'm having >trouble with a TkListbox. I have two listboxes in my app, and whenever >I make a selection in one of them, the one that lost focus loses its >selection. I need them to keep their selections even when they lose >focus. This might help, from the standard Tk documentation: Command-Line Name: -exportselection Database Name: exportSelection Database Class: ExportSelection Specifies whether or not a selection in the widget should also be the X selection. The value may have any of the forms accepted by Tcl_GetBoolean, such as true, false, 0, 1, yes, or no. If the selection is exported, then selecting in the widget deselects the current X selection, selecting outside the widget deselects any widget selection, and the widget will respond to selection retrieval requests when it has a selection. The default is usually for widgets to export selections.