Welcome to the Monastery | |
PerlMonks |
Re: Tk::Entry validate questionby Abigail-II (Bishop) |
on Jun 14, 2002 at 18:10 UTC ( [id://174666]=note: print w/replies, xml ) | Need Help?? |
That's because your validation check requires at least
one number to be present. If you select all, then type,
Tk will first try to delete everything - however, an empty
entry is invalid, so the deletion fails.
The fix is simple. Just change the first line of your sub to:
Abigail
In Section
Seekers of Perl Wisdom
|
|