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

Re: Perl/Tk,How to limit the number of characters in Entry?

by BrowserUk (Pope)
on Jan 19, 2013 at 05:46 UTC ( #1014171=note: print w/replies, xml ) Need Help??


in reply to Perl/Tk,How to limit the number of characters in Entry?

See -validate => 'key', -ValidateCommand => sub { length( $_[0] ) <= 10 ? 1 : 0 } and the validation section of the Entry widget POD.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^2: Perl/Tk,How to limit the number of characters in Entry?
by Anonymous Monk on Jan 19, 2013 at 08:37 UTC
    Thanks!!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2016-09-29 20:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (560 votes). Check out past polls.