Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement