Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 wandering the Monastery: (6)
As of 2014-09-20 20:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (161 votes), past polls