Application Development 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: 

Tree control with hotspot

robert_altenstraer
Active Participant
0 Kudos

Hi everybody,

I have a tree control ( class: cl_gui_simple_tree ), now I want to use instead of event NODE_DOUBLE_CLICK an hotspot click... but I don´t found this event fot this class...

have anybody an idea how I can solve that ?

3 REPLIES 3

Former Member
0 Kudos

Hi,

Did you try to pass the HOTSPOT to the fieldcatalog fof the field for which you want to have the SingleClick-sensitivity ? This will trigger the double_click event for that field.

regards,

Advait

Edited by: Advait Gode on Oct 2, 2008 3:09 PM

0 Kudos

Hello, it´s not a ALV tree...see example in SE 80 : SAPTLIST_TREE_CONTROL_DEMO

by double click at the node > event reacts...

but I want a Hotspot at the node...so I can create a ALV in the control beside..by one Click..

0 Kudos

Hi everybody,

i have found a solution...

I use now follw methods:

handle_selection_changed

FOR EVENT selection_changed

OF cl_gui_simple_tree

IMPORTING node_key

so the event will trigger if I select an other child of the tree...

Best reg

Robert