cancel
Showing results for 
Search instead for 
Did you mean: 

TextEdit Field cursor placement

Former Member
0 Kudos
276

Hello Experts,

How to set or move the cursor position manually inside the TextEdit UI element ? current issue what we are facing is "We have a TextEdit and we set the focus on click of button which sets text to the TextEdit UI Element but immediately after this the cursor moving to start of the TextEdit".

Regards,

Sanjay.

0 Kudos

Hi Sanjay,

We are also facing the same issue .we tried to use Input field instead of text edit but in that condition on request focus
full text present in TextEdit is Selected only.

Kindly let me know if something worked for the same.

Thanks in advance.
Viplove Diwan

View Entire Topic
ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Sanjay,

if I understand right you would like to set the cursor to a specific position inside a TextEdit.

I am not sure this is possible. I also played around with this using the same workaround by setting the focus (with requestFocus()) and setting a test text, but the cursor is always at the beginning of the TextEdit.

Cheers,

Ervin