Get current value.
QxTextField.getSelectionStart();
Set new value.
QxTextField.setSelectionStart(newValue);