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

F1 help in dialog programing for text editor ?

Former Member
0 Likes
974

Hello friends,

I am using cl_gui_textedit for text edtior on dialog programming.

the functionality is doing well.

All I need is to create F1 help for this editor.

So whenever user press F1 on this editor control. Help should be displayed.

Can we do that? if yes how?

An example will be great.

Regards,

RH

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
888

Hi,

TRy using the FM 'DOC_DISPLAY_ADD_F1_HELP' .

5 REPLIES 5
Read only

Former Member
0 Likes
888

Hi Ronny,

If you are using the cl_gui_textedit, i dont' think its possible for the F4 help for the text editor.

actually the text editor is for the what ever text we can write in that...if you have the F4 help there is no need of the text editor.

in short i can say that we can'nt create the F4 help for the text editor..

Thanks!

Read only

0 Likes
888

Not F4 ....I am talking about F1 help.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
888

Look in SAP online documentation on cl_gui_textedit or call transaction SE24, there is an event F1 in class cl_gui_textedit to handle, and in the page [Custom Controls|http://help.sap.com/saphelp_nw70/helpdata/en/2a/755b94ca5911d299af5c9604c10e27/frameset.htm], you will get a sample to copy and adapt. (NB: In the sample the events F1 and F4 are handled in the program...)

Regards

Read only

Former Member
0 Likes
889

Hi,

TRy using the FM 'DOC_DISPLAY_ADD_F1_HELP' .

Read only

Former Member
0 Likes
888

Thanks