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: 

Method for non editable editor of class CL_GUI_TEXTEDIT

Former Member
0 Kudos

Hello all,

I am using Class CL_GUI_TEXTEDIT to have text editor on my screen.

In case of only disaply event I want that text editor to be no editable ..

and in case of change it should be editable.

Is there ant method available for the same.

Regards,

Anruta

2 REPLIES 2

gerd_rother
Active Participant
0 Kudos

Hi,

yes, this is SET_READONLY_MODE.

Regards, Gerd Rother

faisal_altaf2
Active Contributor
0 Kudos

Hi, Amruta Vilas

Please use the following way hope will work for you.

DATA: ref_gui_textedit TYPE REF TO cl_gui_textedit.

CALL METHOD ref_gui_textedit->set_enable
  EXPORTING
    enable = ''. " Blank for Disable 'X' for Enable

Thanks and Best Regards,

Faisal