Centering of text in TDbEdit

The display of an TDBEdit field can be set to be centered.
But when the control gets the focus, the text suddenly is left justified.
I tried to change this behaviour using OnGetText, but I couldn't get it right.

Does anybody know how to do this?

Thanks

Hi

Klaas