Skip to Content
0
Apr 11, 2016 at 02:19 PM

Set focus on Text Edit

103 Views

Hi,

I have requirement, that i have to set the focus on the last line of the text edit in Webdynpro screen.

I know it is possible to set the focus on the any lines bsaed on our string, but in my case the actual string has 4 lines and in the screen displayed as 6 lines.

For ex:

Actual string:

Line 1: First line of the string which need to display on first line

Line 2: second line

Line 3: Third line of string which needs to display on third line

Line 4: fourth line

on Sceen:

Line 1: First line of the string which

Line 2: need to display on first line

Line 3: second line

Line 4: Third line of string which

Line 5: needs to display on third line

Line 6: fourth line

This is due the Text Edit properties of width and warpping.

Can anyone please suggest, how to identify the last line of the text edit UI

Thanks in Advance

Manikandan S