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

Background Color.

amit_khare
Active Contributor
0 Likes
433

Hi All,

I want to set the background of a tree node text to red color. How can i perform that?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
379

Hi Amit,

Use Customizing of Local layouts.

Regards,

Amey

2 REPLIES 2
Read only

Former Member
0 Likes
380

Hi Amit,

Use Customizing of Local layouts.

Regards,

Amey

Read only

Former Member
0 Likes
379

this is demo prg SAPTLIST_TREE_CONTROL_DEMO

in this check the

include TLIST_TREE_CONTROL_DEMOCL1

they did the following code for Background color

      CLEAR ITEM.
      ITEM-NODE_KEY = 'New4'.
      ITEM-ITEM_NAME = '1'.
      ITEM-CLASS = CL_GUI_LIST_TREE=>ITEM_CLASS_TEXT.
      ITEM-LENGTH = 11.
      ITEM-USEBGCOLOR = 'X'. "
      ITEM-TEXT = 'SAPTRIXTROX'.
      APPEND ITEM TO ITEM_TABLE.

regards

vijay