Auto Scroll

Shay

Well-Known Member
Licensed User
Longtime User
Hi

I have EditText that I am automatically adding to it text
I need once text is more than visible, it will auto scroll down
so I can see new text
how do I do that?
thanks
 

specci48

Well-Known Member
Licensed User
Longtime User
Helo Shay,

you can set the SelectionStart (cursorposition) to the last position of the text, so the bottom of the text comes visible:
B4X:
EditText1.SelectionStart = EditText1.Text.Length - 1

Regards
specci48
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…