in reply to Re: Perl/Tk : Trouble with commands and Checkbuttons
in thread Perl/Tk : Trouble with commands and Checkbuttons
This will not work, and will print 5,5 regardless which checkbutton you click. The issue is that you used the latest value of $x and $y, not the value at the time when the checkbutton is defined.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl/Tk : Trouble with commands and Checkbuttons
by Tanktalus (Canon) on Sep 16, 2005 at 14:52 UTC |