I am looking for a solution to simulate the ScrollToCaret properties present in windows mobile. My aim is to display a large text in an EditText starting from a string of the text in which I have previously placed the cursor.
it partially works. In fact, the text at the cursor position is shown at the end of the window instead of at the beginning. the only way I've found is to cut the text before the cursor, but it is a solution that I wanted to avoid
Maybe you can first set SelectionStart to a few characters ahead of the current position and then set the SelectionStart again. You may need to call DoEvents in the middle.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.