Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET POINT and numeric input
Message
From
11/01/2002 10:01:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
11/01/2002 09:53:13
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00603396
Message ID:
00603476
Views:
18
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform