‎2010 Jan 13 9:10 AM
Dear Gurus ,
I made a custom Texteditor control in my own screen. The problem is that i can't disable the toolbat above the control .
Please see my code ....
CREATE OBJECT G_EDITOR_3
EXPORTING
PARENT = G_EDITOR_CONTAINER_3
WORDWRAP_MODE = CL_GUI_TEXTEDIT=>WORDWRAP_AT_FIXED_POSITION
WORDWRAP_TO_LINEBREAK_MODE = CL_GUI_TEXTEDIT=>TRUE
WORDWRAP_POSITION = 70
EXCEPTIONS
OTHERS = 1.
IF SY-SUBRC NE 0.
CALL FUNCTION 'POPUP_TO_INFORM'
EXPORTING
TITEL = G_REPID
TXT2 = SPACE
TXT1 = TEXT-001.
ENDIF.Thanks a lot ....
‎2010 Feb 16 6:23 AM
Hi,
Try this code to disable your custom designed texteditor.
*
CALL METHOD: editor_s->set_toolbar_mode
EXPORTING toolbar_mode = '0'.
*
pls don't forget to place your container name inplace of mine,i.e "editor_s".
do rply if it's workable.
Edited by: izullah on Feb 16, 2010 7:24 AM
‎2010 Jan 13 4:41 PM
Hi,
Try the method SET_TOOLBAR_MODE of the editor 0 is off (i think...)
Regards,
‎2010 Feb 16 6:23 AM
Hi,
Try this code to disable your custom designed texteditor.
*
CALL METHOD: editor_s->set_toolbar_mode
EXPORTING toolbar_mode = '0'.
*
pls don't forget to place your container name inplace of mine,i.e "editor_s".
do rply if it's workable.
Edited by: izullah on Feb 16, 2010 7:24 AM