Borislav
Thank you for that link. I read through the sample code and am now wondering whether a control itself should be responsibile for updating GetCaretPos() information when a user repositions a caret via the cursor keys or a mouse?
If the VFP developers forgot about this detail, that would explain why GetCaretPos() is not being updated properly.
I googled this topic and could not find any references to controls that returned incorrect GetCaretPos() values when a caret was repositioned via keyboard cursor keys or mouse. So perhaps this is VFP specific behavior?
Malcolm