Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Spinner control will not let user enter 2 digit numbers.

Status
Not open for further replies.

Russ1005

Programmer
Dec 13, 2004
96
US
In VFP 7, I have a spinner control that will only let the user enter a 1 digit number but not a 2 digit number as it should. Using the spinner buttons works fine. There is only a problem when keying 2 digits manually.

Format: RK
Input Mask: 99
Increment: 1.00
keyboardhighvalue = 31
keyboardlowvalue = 1
spinnerhighvalue = 31.00
spinnerlowvalue = 1.00

What am I doing wrong?

Thanks
 
No, that was worth a shot but it didn't work.
 
The problem was there was a val() function in the interactivechange event of the spinner control which was padding the number incorrectly.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top