Re: spinbox bug?
- From: Hanz <hanz@xxxxxxxxx>
- Date: Wed, 27 Aug 2008 16:51:26 +0200
suchenwi wrote:
On 27 Aug., 15:16, Hanz <h...@xxxxxxxxx> wrote:Right, I had a validation command still checking the field for non-integer user entry, and indeed the 'string is integer 09' fails. Tricky!To avoid this yet another incarnation of the octal problem, you mightThanks, yes, I tried this, but to my surprize you can see still funny
just give a values list:
pack [spinbox .s -values {
00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21
22 23
}]
instead of -from, -to, -format, -increment
behavior around with the '09' list element, as if it is somehow still
inspected. Still, I guess this is the only solution...
If you do any arithmetic with the strings 08 and 09, you'd better
[scan] the numeric value out of them before doing that. Just spinning
over them shows no problem here.
Thanks, Hans
.
- References:
- spinbox bug?
- From: Hanz
- Re: spinbox bug?
- From: suchenwi
- Re: spinbox bug?
- From: Hanz
- Re: spinbox bug?
- From: suchenwi
- spinbox bug?
- Prev by Date: Re: TclX loop slow in the default case
- Next by Date: Re: question about reset counter/data
- Previous by thread: Re: spinbox bug?
- Next by thread: Top-level command invokations not compiled
- Index(es):