Android Question Edittext top line

Scantech

Well-Known Member
Licensed User
Longtime User
Is there any way to detect what words are on top of the multi line edittext?
 

angel_

Well-Known Member
Licensed User
Longtime User
If you have CRLF to separate them
B4X:
Dim txt() As String = Regex.Split(CRLF, edittext.Text)
Dim FirstLine As String = txt(0)
 
Upvote 0

Scantech

Well-Known Member
Licensed User
Longtime User
It has a vertical scroll panel with edittext in it. When i scroll up, the text that are shown at the top of the edittext is what i want to detect. I don't feel like switching from edittext to something else. If it is possible to find the top line, then great.

ScrollView + Edittext
B4X:
svGridScrollLog.Panel.AddView(txtHBBibleVerses,0,0,1,1)
 
Upvote 0
Top