Thank you so much!
I modified your code to read -validatecommand=> sub{$_[0] =~ /^\d*\${0,1}$/}, so my user can enter as many digits as he wants, but still only digits and the default value shows up!I Love it!
In reply to Re^2: Entry widget, default value and validatecommand
by Real Perl
in thread Entry widget, default value and validatecommand
by Real Perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |