Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Set focus on Text Edit

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

Former Member
Former Member replied

Hi,

Set the focus for line as max ie., "1000000".

My self found the solution.

Regards,

Manikandan S

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question