in reply to PerlTk using -configure across frames

Yep, you mis-spelled configure...

# Enable/Disable various buttons # sub update_buttons { if ($online == 0) { # We are Offline $rd_b2->configure(-state => 'disabled'); # $mw->$seg2_f->$rd_b2->configure(-state => 'disabled'); } else { # We are Online $rd_b2->configure(-state => 'normal'); # $mw->$seg2_f->$rd_b2->configure(-state => 'normal'); } }

works for me.

Replies are listed 'Best First'.
Re^2: PerlTk using -confiqure across frames
by colintu (Acolyte) on Jul 07, 2024 at 14:38 UTC
    ... and now spelling in the code also fixed! Thanks, My (72 year old) eyesight is obviously worse than I thought. ;)
Re^2: PerlTk using -confiqure across frames
by colintu (Acolyte) on Jul 07, 2024 at 14:34 UTC
    Ok ;) Title of the post fixed.