>>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.
This is what I recalled as an aspect I didn't expect. I found it "neat" and couldn't reason how it would work. More object-like than I even expected or so. But inconvenient for you. Try AutoYield for fun (won't help you, but in order to understand or so); maybe turn event processing off (by means of this), SET POINT, turn event processing on and Refresh the control only.