Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Clearing and entry-box in TK

by strat (Canon)
on Sep 23, 2006 at 10:08 UTC ( [id://574497]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use vars qw($InputText);
    $InputText = "";
    ...
    # my $guess = int ($input->get);
    my $guess = int( $InputText );
    $InputText = ""; # empty it
    
  2. or download this
    my $input = $mw->EntryCheck(
      -textvariable => \$InputText,
      -pattern      => qr~\d~,
    )->form;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-03-29 09:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found