Oops, sorry. I read the message body, but forgot to read the subject line.
Well, if you want to go with the native file selection dialogs, you're stuck. As you identified, the
-multiple option wasn't added until 8.4. But if you're willing to go with a non-native dialog, you can manage it.
On platforms where there isn't a native file selection dialog (basically, Unix in most cases), Tcl creates its own in pure Tcl/Tk code. That code is contained in the Tk library files. If your Tcl installation directory is
$INSTALL, you'll find them in
$INSTALL/lib/tkX.X. The procedure that displays the file open dialog is
::tk::dialog::file, and it's contained in the file
tkfbox.tcl. However, it uses other Tk library procedures defined in several other files (
dialog.tcl among them). I've not had time to work out all the dependencies.
Anyway, the upshot is that you should be able to copy that code from a 8.4 distribution and use it in a 8.3 environment. I've not had time to scan through the code to determine if there are any 8.4 dependencies, but I suspect that there aren't for the file dialogs. For a little more information on this subject (though probably not all that applicable to your case), you might want to check out
If you don't want to take that approach, I suppose you could "roll your own" based on a listbox widget.
- Ken Jones, President, ken@avia-training.com
Avia Training and Consulting,
866-TCL-HELP (866-825-4357) US Toll free
415-643-8692 Voice
415-643-8697 Fax