in reply to Strange behavior in -validatecommand; Win32 Perl/Tk version 804.027
I think it's asking for trouble to be doing your main work in a validatecommand routine, but you are... and that's probably why you have forgotten that it is, after all, a validatecommand, and is expected to return a boolean indicating whether the "new value" is valid. Simply add return(1) at the end of new_shape and you should be good to go.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Strange behavior in -validatecommand; Win32 Perl/Tk version 804.027
by liverpole (Monsignor) on Aug 27, 2007 at 03:04 UTC | |
|
Re^2: Strange behavior in -validatecommand; Win32 Perl/Tk version 804.027
by Anonymous Monk on Feb 12, 2008 at 10:03 UTC |