Attn: Delphi BDE Gurus - Having a space at end of field

When I have a space that is the last character in a text field the Caret
position is reset to 0. Does anyone know why this is happening or where
in the VCL it is happening?

Normally the trailing spaces are removed but I wrote a routine to put it
back when the BDE removes it but when I do the caret is reset to zero.
Even though I save the Caret postion and set it back to the saved value
it is still reset sometime after my routine.

--Robert Kozak