Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Bug: Tk::Entry 804.027 validate?

by strat (Canon)
on Jul 07, 2007 at 09:39 UTC ( #625402=note: print w/ replies, xml ) Need Help??


in reply to Re: Bug: Tk::Entry 804.027 validate?
in thread Bug: Tk::Entry 804.027 validate?

Hello zentara,

The reason why I want to do it that way is Tk::EntryCheck. This module that allows you to control which chars may be entered and up to which lenght into a Tk::Entry widget. I wrote this module because I prefer preventing invalid or too many chars to letting the user insert everything and then checking it and rising errors and the like.

Well, I now try to rewrite this module using Tie::Watch.

Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"


Comment on Re^2: Bug: Tk::Entry 804.027 validate?
Re^3: Bug: Tk::Entry 804.027 validate?
by zentara (Archbishop) on Jul 07, 2007 at 15:41 UTC
    Hi, the mention of Tie::Watch, triggered my memories of Tk::Trace( which may work better with Tk). It's only glitch, is that you need to pre-declare package Tk and add Tk::Trace. See Simple Tk Gauge

    I'm not really a human, but I play one on earth. Cogito ergo sum a bum

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2014-08-21 04:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (127 votes), past polls