Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Spinner problem

I am using a spinner and have set the high 30 and low -20 , these all work
OK if I use the spinner but when I try and put a figure in by keyboard
it accepts the but then it moves to the decimal place i.e -.X

How can I set it so when I put a figure in it accepts the 4.5 etc..

many thanks in advance

Paul
[343 byte] By [Paul Summerfield] at [2007-11-10 12:49:54]
# 1 Re: Spinner problem
Hi Paul,

Your odd character didn't come through (note the vertical rectangle.) Can
you describe what character it is? Like CHR(x).

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
cindy.winegarden@mvps.org, www.cindywinegarden.com

"Paul Summerfield" <fox@quantumistic.co.uk> wrote in message
news:3ef9b946$1@tnews.web.dev-archive.com...
>
> I am using a spinner and have set the high 30 and low -20 , these all
work
> OK if I use the spinner but when I try and put a  figure in by keyboard
> it accepts the  but then it moves to the decimal place i.e -.X
>
> How can I set it so when I put a  figure in it accepts the 4.5 etc..
Cindy Winegarden at 2007-11-11 23:50:46 >
# 2 Re: Spinner problem
opps,

it was a minus figure CHR(-)

thanks

Paul

"Cindy Winegarden" <cindy.winegarden@mvps.org> wrote:
>Hi Paul,
>
>Your odd character didn't come through (note the vertical rectangle.) Can
>you describe what character it is? Like CHR(x).
>
>--
>Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
>cindy.winegarden@mvps.org, www.cindywinegarden.com
>
>"Paul Summerfield" <fox@quantumistic.co.uk> wrote in message
>news:3ef9b946$1@tnews.web.dev-archive.com...
>>
>> I am using a spinner and have set the high 30 and low -20 , these all
>work
>> OK if I use the spinner but when I try and put a  figure in by keyboard
>> it accepts the  but then it moves to the decimal place i.e -.X
>>
>> How can I set it so when I put a  figure in it accepts the 4.5 etc..
>
>
paul Summerfield at 2007-11-11 23:51:52 >
# 3 Re: Spinner problem
How have you set the format for the Spinner? I've got the following, and I
can put in -12.34:

*!* High 25, Low 25
SelectOnEntry = .T.
InputMask = 999.99 (minus sign and 4 digits)

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
cindy.winegarden@mvps.org, www.cindywinegarden.com

"paul Summerfield" <foxy@quantumistic.co.uk> wrote in message
news:3efac4e8@tnews.web.dev-archive.com...

> >> I am using a spinner and have set the high 30 and low -20 , these all
> >work
> >> OK if I use the spinner but when I try and put a "-" figure in by
keyboard
> >> it accepts the "-" but then it moves to the decimal place i.e -.X
> >>
> >> How can I set it so when I put a - figure in it accepts the -4.5 etc..
Cindy Winegarden at 2007-11-11 23:52:50 >