Thread Checkbox-Problem (4 answers)
Opened by Froschpopo at 2005-05-03 22:43

Froschpopo
 2005-05-03 22:43
#43912 #43912
User since
2003-08-15
2653 Artikel
BenutzerIn
[default_avatar]
hi,

ich hab ne kleine funktion gebaut:
Code: (dl )
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');

Wie kann ich das machen, dass -state von $button2 wieder auf "normal" geändert wird, wenn $button1 aktiviert wird?\n\n

<!--EDIT|Froschpopo|1115145878-->

View full thread Checkbox-Problem