At what time should this transfromation happen?Bart
You could probably do it with TEdit's OnExit event, then use Format() to change the formatting. Alternatively, TSpinEdit could possibly do the trick to, or the TMaskEdit.
... or the TMaskEdit.