‎2005 Nov 29 10:31 AM
Hi All,
I want to set the background of a tree node text to red color. How can i perform that?
‎2005 Nov 29 10:34 AM
‎2005 Nov 29 10:34 AM
‎2005 Nov 29 10:42 AM
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