Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Regional Digit Grouping (Separator) settings
Message
De
13/07/2004 12:09:10
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
13/07/2004 11:44:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00923781
Message ID:
00923812
Vues:
22
This message has been marked as a message which has helped to the initial question of the thread.
>Hi all,
>In VFP8 Help the SET SEPARATOR has the following note:
>Included for backward compatibility. Use the Digit grouping symbol setting of the Windows Regional Options Control Panel instead.
>
>While this solves our problem with a French Regional Setting where the SEPARATOR is a blank space, I am having second thoughts about this fix because of the backward compatibility issue. I've been looking for a Windows API that will allow me to change the Digit grouping symbol but can't find one. Does anyone have similar problems and what was your solution.
>
>Feedbacks very much appreciated. Thanks.

Backwards compatibility simply means that your older programs might not work correctly if you use SET SYSFORMATS. You will have to gradually change the program to work correctly, with SET SYSFORMATS ON.

I would not recommend to change the settings in the Control Panel programmatically; this would go against the principle, that this should be under the control of the user. If you do need special settings, just keep SET SYSFORMATS OFF, and use the "backwards compatible" commands.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform