Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET POINT and numeric input
Message
De
11/01/2002 10:01:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
11/01/2002 09:53:13
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00603396
Message ID:
00603476
Vues:
17
>Hilmar don't put the SET SYSFORMATS ON on the lostfocus you should put SET POINT TO this will restore the default being the point or comma.

Help states that SET POINT TO "reset the decimal to a period". I wanted to restore the user preferences (Control Panel).

Anyway, I tried SET POINT TO, and also SET POINT TO ",". The main problem remains: that the changes on GotFocus() and LostFocus() affect all controls, and not only the current one.

Since I did the change in the base-class cTextBox, whenever I tab into a TextBox, all commas on the form change to points. When I select another kind of object (e.g.: a CheckBox), the separators change back to comma. This change affects all textboxes, and not only the currently selected one.

Hilmar.
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