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

Dispatch event ?

Former Member
0 Likes
538

Hi All!

I have an object of CL_GUI_TEXTEDIT class. That object have F1, F4, double click,... event, when user press F4 key then data will be stored in database (I can catch this event). My program have a save button and I want to F4 event was catch when user click to save button instead press F4 key.

Please give me some solutions!

Thanks & Regard

huandv

1 ACCEPTED SOLUTION
Read only

franois_henrotte
Active Contributor
0 Likes
473

catch the function code in your program (PAI) and call method DISPATCH of your text object like this:

my_text->dispatch( eventid = my_text->event_f4 ).

1 REPLY 1
Read only

franois_henrotte
Active Contributor
0 Likes
474

catch the function code in your program (PAI) and call method DISPATCH of your text object like this:

my_text->dispatch( eventid = my_text->event_f4 ).