B4J Question Textfield cursor position

moore_it

Well-Known Member
Licensed User
Longtime User
Hello,

it's possible to manage the textfield cursor ?
Move at third char or at end or at start of the text for example ?

Thanks in advice
 

stevel05

Expert
Licensed User
Longtime User
B4X:
TextField1.SetSelection(3,3)
TextField1.SetSelection(TextField1.Text.Length,TextField1.Text.Length)
TextField1.SetSelection(0,0)
 
Upvote 0
Top