- or download this
my $reg=$top->Entry(width=>30,
-font=>12,
...
-validatecommand=>\&setting,
-validate=>'all',
)->pack();
- or download this
my $i=$frame1->Checkbutton(
-bg=>COLOR,
...
)->pack(
-side=>'left',
);
- or download this
sub setting{
if (substr($regex,0,2)eq 'tr')
...
else
{$state='active'};
}