2009 Jan 09 4:42 PM
Hi,
I am trying to initialize tree view. I am manually adding tree view items. My code looks like bellow:
NODE-RELATKEY = c_nodekey-root.
NODE-RELATSHIP = CL_GUI_SIMPLE_TREE=>RELAT_LAST_CHILD.
NODE-HIDDEN = ' '.
NODE-DISABLED = ' '.
NODE-ISFOLDER = ' '.
NODE-N_IMAGE = 'ICON_EXECUTE_OBJECT'.
APPEND NODE TO NODE_TABLE.
The problem is that I am not able to set item image. The code like describe above does not work. In some example codes I saw just:
NODE-N_IMAGE = icon_execute_object.
But, this code is not valid, when I write it in this way, compiler shouts error
Field "ICON_EXECUTE_OBJECT" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement. .
How to do it? I need to insert ICON_EXECUTE_OBJECT image to tree view item.
Thank you in advance.
Hi,
I am trying to initialize tree view. I am manually adding tree view items. My code looks like bellow:
NODE-RELATKEY = c_nodekey-root.
NODE-RELATSHIP = CL_GUI_SIMPLE_TREE=>RELAT_LAST_CHILD.
NODE-HIDDEN = ' '.
NODE-DISABLED = ' '.
NODE-ISFOLDER = ' '.
NODE-N_IMAGE = 'ICON_EXECUTE_OBJECT'.
APPEND NODE TO NODE_TABLE.
The problem is that I am not able to set item image. The code like describe above does not work. In some example codes I saw just:
NODE-N_IMAGE = icon_execute_object.
But, this code is not valid, when I write it in this way, compiler shouts error
Field "ICON_EXECUTE_OBJECT" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement. .
How to do it? I need to insert ICON_EXECUTE_OBJECT image to tree view item.
Thank you in advance.
2009 Jan 21 2:45 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |