Leser: 1
5 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
my $button1 = $mw->Checkbutton(
-variable =>\$config{SavePwd},
-text => 'Passwort speichern'
)->pack;
my $button2 = $mw->Checkbutton(
-variable =>\$config{Mode},
-text => 'Passwort speichern',
)->pack;
$button2->configure(-state => 'disabled');
1
2
3
4
5
my $check = $button->cget(-Value)
if ($check == 1)
{
$button2->configure(-state => 'enable');
}
1
2
3
4
5
my $check = $button->cget(-state)
if ($check eq 'active')
{
$button2->configure(-state => 'normal');
}
5 Einträge, 1 Seite |