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
>
>Mario,
>
>Check SET POINT and SET SEPARATOR in help. Bear in mind they are scoped to the data session.
>These values are saved in the REGISTRY under HKEY_CURRENT_USER\Software\Microsoft\VisualFoxPro\5.0\Options.
>
>
>José
Thanks Jose, but the set point to "." will force/overwrite Windows setting and this is not what I want. the only way I found is through the keypress event of the textbox (class):
If Set("point")="," and nKeyCode = 46
keyboard ","
endif
or the form:
If "." $ this.activecontrol.inputmask and Set("point")="," and nKeyCode = 46
keyboard ","
endif
Any better ideas.
TIA
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