Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2014-07-25 03:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (167 votes), past polls