IjumpOverU
Technical User
I have a control that uses the base textbox control. On the text changed event I do some validation and sometime changed the text that was entered. However when I do this it always sets the cursor in the text box to the beginning of the test (even if the last character was entered at the end or in the middle). This causes some problems if you want to type multiple keystrokes after the validation happens.
Is there anyway to keep the cursor position or look it up and restore it after the validation?
Any help or ideas are appreciated!
Is there anyway to keep the cursor position or look it up and restore it after the validation?
Any help or ideas are appreciated!