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!

Controlling manual input of spinner control.

Status
Not open for further replies.

Russ1005

Programmer
Dec 13, 2004
96
US
In VFP 7, a user reports that on a spinner control when he tries to manually key in a 2 digit number, the spinner displays a decimal. I can not reproduce the problem as when I try to manually key in 2 digits it will only accept 1 number(but should allow 2 digit entry).

The KeyboardLowValue is set to 1 and the KeyboardHighValue is set to 31.
Input mask is none.
Format is "K"

How can I make the control properly accept the keying of 2 digit numbers without decimals?


Thanks
 
inputmask = "99" and Format = "RK" should help to prevent decimals (after the decimal point) to appear.

Haven't tested though.

Bye, Olaf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top