Skip to Content
author's profile photo Former Member
Former Member

Events cl_gui_textedit

Hello,

i've 2 cl_gui_textedit-controls on my dynpro. When you make a doubleclick on those a texteditor is opened. My problem is that i cannot decide which of these two has raised the event...

I thought maybe there is a hint in the "sender" object but i couldn't find something fitting.

Would be nice if you could help me

Kind regards

Tobias

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Oct 26, 2006 at 09:03 AM

    Hello Tobias

    When you define the event handler method you can always add the optional IMPORTING parameter SENDER which contains the reference to the control that raised the event. The you simply code:

      CASE sender.
        WHEN go_textedit_1.  " your 1st textedit control
    
        WHEN go_textedit_2.  " your 2nd textedit control
    
        WHEN others.
        ...
        ENDCASE.

    Regards

    Uwe

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.