I am nearly sure you named your test script "tablelist.tcl" on Windows
XP but chose a different name for it on Windows 7. The application name
"tablelist.tcl" will cause the main window "." to have the class name
"Tablelist", hence wish will associate the Tablelist class bindings with
it, which, of course, cannot work.
This is a quite general problem and has nothing to do with Tablelist.
Regardless of what kinds of widgets your script contains, if you name it
"entry.tcl", "listbox.tcl", "text.tcl", etc., you will get some error
message, because the class name of "." will be "Entry", or "Listbox", or
"Text", etc., and wish will activate the corresponding class bindings
for it.
Please remember: Never, never name your scripts "entry.tcl",
"listbox.tcl", "text.tcl", "tablelist.tcl", etc. on Windows, or else you
will very probably get unexpected error messages.
On UNIX the rule is: Never, never name your scripts "entry", "Entry",
"listbox", "Listbox", "text", "Text", "tablelist", "Tablelist", etc., or
else you will very probably get unexpected error messages.
--
Csaba Nemethi
http://www.nemethi.de mailto:
csaba....@t-online.de