Android Question [Solved] B4XView.SelectionStart

Roger Daley

Well-Known Member
Licensed User
Longtime User
Hi All,

In B4A this works:

B4X:
'Display1 created in Designer'
Private Display1 as EditText
Display1.SelectionStart = Display1.Text.Length


When Display1 is declared as B4XView it flags "Unknown member: selectionstart"


B4X:
'Display1 created in Designer'
Private Display1 as B4XView
Display1.SelectionStart = Display1.Text.Length

It seems too simple to go wrong, but..........

Help would be much appreciated.

Regards Roger
 
Last edited:

Roger Daley

Well-Known Member
Licensed User
Longtime User


LucaMs,
Amazing, you've given me the answer but not one I would have ever had guessed.

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