my $length = 6; $widget->Entry( -validate => 'key', -vcmd => sub{ return 1 if (length($_[0]) <= $length); return 0; } );
In reply to Re: limit number of characters in entry widget
by thundergnat
in thread limit number of characters in entry widget
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |