Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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); }

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2018-05-25 10:11 GMT
Find Nodes?
    Voting Booth?