in reply to Re^3: Background Color - Tk Checkbutton
in thread Background Color - Tk Checkbutton
There is nothing uniqe in the code, but I'll post it anyhow.
my $cb_update_actual = $FrameDataToAnalyze -> Checkbutton( -text +=>"", -offvalue=>0, -onvalue=>1, -command=> sub { if ($UpdateActual) { $entry_actual_value->configure +(-state=>"normal"); } else { $entry_actual_value->configure +(-state=>"disabled"); } }, -variable=>\$UpdateActual); $cb_update_actual -> select();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Background Color - Tk Checkbutton
by shmem (Chancellor) on Jul 12, 2010 at 09:17 UTC | |
by Bintuch (Acolyte) on Jul 12, 2010 at 10:19 UTC | |
by shmem (Chancellor) on Jul 12, 2010 at 10:34 UTC | |
by Bintuch (Acolyte) on Jul 12, 2010 at 10:57 UTC |