'By not having the "if in focus" question, it always returns the cursor to zero position, even when exiting the combo.
Private Sub xComboBox_FocusChanged (HasFocus As Boolean)
If HasFocus Then
'How about selecting all? If I want to write again when typing the first character it replaces the entire text.
xComboBox.SetSelection(0, xComboBox.SelectedTextItem.Length - 1)
End If
End Sub