Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Editor in a custom container

Former Member
0 Kudos

Hi Experts,

I want a text editor on my screen. For this I have used CL_GUI_ABAPEDIT to get the ABAP editor. I could have used CL_GUI_TEXTEDIT but for this the set focus is not working.

Now the problem with CL_GUI_ABAPEDIT is, when I am typing some text into it, that is not being displayed on it instantly. When I click enter and then scroll it then I am able to see the text I have typed. That too in reverse order i.e. if I type Hello it is shown as olleH. Please let me know on this or let me know how to set focus for CL_GUI_TEXTEDIT to the end of the text.

Thank you.

2 REPLIES 2

former_member184578
Active Contributor
0 Kudos

Hi.,

I think you can use set_focus methos of CL_GUI_CONTROL which is super class of cl_gui_textedit. You can find set_focus method in cl_gui_textedit as it is the subclass of cl_gui_control.

hope this helps u.,

Thanks & Regards,

Kiran

0 Kudos

Hi,

I have tried that, but that isn't working.

Thnak you.