General information
Category:
Forms & Form designer
>>If the user is setting the decimal symbol as the , in the control panel, they want to be able to use the numeric keypad . for fast data entry of numbers.
>>
>>Excel and Access are supporting this, but not VFP. I use Set sysformats ON. The only way I found to enter a decimal is to type on the ,
>>
>>Any ways to do this?
>>
>>TIA
>Is this a texbox on a form? Does the inputMask property help you?
>
Alternative : in the KeyPress-event, check if the key is a '.'. If so, do a KEYBOARD "," to translate it into a '.'.
By the way, for some regional settings (of Windows), the '.' on the numeric keypad is ALWAYS ',', even when you set the decimal symbol as '.'. Probably a bug / feature in Windows (Win NT 4.0, Dutch (Belgian) region and keyboard).
Marc.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only