‎2009 Jun 09 6:54 AM
Hi Experts,
I have designed one custom container and using CL_GUI_TEXTEDITOR ,i have able to display one text editor control screen.But i have one requirement where in i have to make the buttons(buttons like cut ,copy, paste,find that are displayed at the top left of text editor) invisible.
I tried changing the styles and setting attributes for the class,but it didn't wrk.
Please suggest me if u had any solution.
Regards,
Lakshman.
‎2009 Jun 09 7:01 AM
HI,
Refer to this demo program SAPSCRIPT_DEMO_NOTE_EDITOR
* without toolbar?
call method note_editor->set_toolbar_mode
exporting toolbar_mode = cl_gui_textedit=>false
exceptions others = 1.
if sy-subrc <> 0.
* add your handling
endif.
‎2009 Jun 09 11:07 AM
Thanks Avinash,
Actually there is method in the class SET_TOOLBAR_MODE which solves my problem.