Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^3: Re-Enter Data in Perl TK

by shortyfw06 (Beadle)
on Jul 09, 2012 at 15:15 UTC ( #980701=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Re-Enter Data in Perl TK
in thread Re-Enter Data in Perl TK

I think I figured it out. Thanks! I added this to the do_reset sub.

sub do_reset { $lam_num_ent->delete(0,'end'); $lam_frm->gridForget; $lam_frm = $mw -> Frame(); $lam_frm->grid(-row=>$row,-column=>$column,-columnspan=>6); }

Comment on Re^3: Re-Enter Data in Perl TK
Download Code
Replies are listed 'Best First'.
Re^4: Re-Enter Data in Perl TK
by zentara (Archbishop) on Jul 09, 2012 at 16:33 UTC
    Now you are learning! :-) You ought to set a default value in your input entry to avoid the warning when the calculate button is pressed with nothing in the Entry.

    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://980701]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2015-11-30 23:51 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (788 votes), past polls