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: 

Use of NODE_KEYPRESS in simple tree control

Former Member
0 Kudos

Hi Experts,

Can you please tell me how can i use NODE_KEYPRESS event in simple tree?

How i register this event in simple tree control?I am working on T/C se80.

Thanks & Regards.

Ankur Garg.

2 REPLIES 2

Former Member
0 Kudos

Hi Ankur,

check this system defined program.u'll get some idea about the events.

SIMPLE_TREE_CONTROL_DEMOCL1

Prajith

Former Member
0 Kudos

Hi again,

If u want to use events that rely on user pressing a key(eg. NODE__KEYPRESS),you must register the key stroke using the method

ADD_KEY_STROKE.

use this method to define keys that trigger an event.To react to thye events,you must also register the corresponding event(NODE_KEYPRESS / ITEM_KEYPRESS).

CALL METHOD tree->add_key_stroke

Regards,

Prajith