Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 musing on the Monastery: (16)
As of 2015-07-02 11:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (35 votes), past polls