Application Development and Automation 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: 
Read only

set background colors in text editor

Former Member
0 Likes
1,209

Hi,

I wana set back ground color of text editor .

according to the variable i wana change back ground color of text editor.

Plz give some solution....

Hi,

I wana set back ground color of text editor .

according to the variable i wana change back ground color of text editor.

Plz give some solution....

4 REPLIES 4
Read only

Former Member
0 Likes
908

Hi,

Are you using the class CL_GUI_TEXTEDIT for text editor?

Regards.

Punit

Read only

Former Member
0 Likes
908

Thanks for reply,

yes i m using CL_GUI_TEXTEDITOR.

and if i m making this editor read only then it has sap default color.

but i want change this color like red, green, pink only for my program's editor window.

Read only

uwe_schieferstein
Active Contributor
0 Likes
908

Hello Tarun

I can see neither any method to set this property nor any attribute holding this property. From this I conclude that your requirement is not possible for the textedit control.

Regards

Uwe

Read only

0 Likes
908

Hi Uwe Schieferstein,

Thanks for reply me.

yes that is true we can't set back ground color in text editor.

I have used HTML feature to set the background color.

I have used CL_DD_DOCUMENT and CL_GUI_HTML_VIEWER.

Thanks.