Once we click on the text field (with AutoSelect = false) in a dw, the cursor is positioned at the beginning of the field by default. We should make another click to change it position to the desired one.
Is there a way to set the cursor position at the mouse position on the first click?
There is the SelectText() function that can be used to change the position in a field but I do not have the "start" parameter.
Thank you and best regrards,
Mihai.
You'd probably also get complaints from users who DON'T want to have to click on the left of the first character in a field to position the mouse there (as that would be a lot more difficult than just clicking anywhere on the field).
So, yes, I know there's crazy managers or customers who would ask for such a feature, but I would just tell them that it's not standard windows behaviour, some users might not like it and that it's just not possible.
Regards
I had tried to call the Clicked event in a post from ItemfocusChanged() with the same coordinates as the first click with no success. If the click does not came from a real mouse event it does not have visual effects:-(