petro4213 has asked for the wisdom of the Perl Monks concerning the following question:
Dear wise Perl guys,
I have an Tk::Entry widget with both -textvariable and -validatecommand options defined.
I know, that this is risky, but it works fine as long as I don't assign to the variable used as the textvariable inside my validate command sub itself.
If I do so, the validate option is obviously turned to 'none' when I assign to the textvariable.
Thanks & Regards,
petro4213
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tk::Entry widget with textvariable and validatecommand
by kcott (Archbishop) on Nov 06, 2017 at 16:16 UTC | |
by petro4213 (Acolyte) on Nov 06, 2017 at 18:21 UTC | |
|
Re: Tk::Entry widget with textvariable and validatecommand
by beech (Parson) on Nov 07, 2017 at 03:34 UTC | |
by petro4213 (Acolyte) on Nov 07, 2017 at 07:32 UTC | |
|
Re: Tk::Entry widget with textvariable and validatecommand
by petro4213 (Acolyte) on Nov 06, 2017 at 15:02 UTC | |
|
Re: Tk::Entry widget with textvariable and validatecommand
by chrstphrchvz (Scribe) on Apr 22, 2019 at 15:42 UTC |