Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Decimal separator
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00203576
Message ID:
00203764
Views:
13
>>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
Map
View

Click here to load this message in the networking platform