Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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."

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://625402]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2018-06-24 19:11 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.