Hello :) how can I substitute eg letters a and b in an entry? So when I type a, then it should be replaced with c or whatever. thanks
$top->Entry( -width => 20, -textvariable => \$data, -validate => 'key', -vcmd => sub {$_[1] =~ /[ab]/} )->pack( -side => 'left' );
In reply to tk::Entry substitute with validate by vikee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |