FishingIwishIwas
Technical User
I setup a button with a dis-able state initially:
$Bt_Done = $Frame->Button(-text => 'Done',
-state => 'disabled'
...)
and want to enable it later in another routine but I couldn't figure out the way to do that:
$Bt_Done->state = enabled; #This doesn't work
$Bt_Done->state => enabled; #This doesn't work either
What's the right way?
Thanks!
$Bt_Done = $Frame->Button(-text => 'Done',
-state => 'disabled'
...)
and want to enable it later in another routine but I couldn't figure out the way to do that:
$Bt_Done->state = enabled; #This doesn't work
$Bt_Done->state => enabled; #This doesn't work either
What's the right way?
Thanks!