<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Capture Event in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/capture-event/m-p/1196291#M129762</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CLASS c_reaction DEFINITION&lt;/P&gt;&lt;P&gt;METHOD handle_picture_click&lt;/P&gt;&lt;P&gt;for event PICTURE_CLICK OF CL_GUI_PICTURE&lt;/P&gt;&lt;P&gt;IMPORTING  MOUSE_POS_X &lt;/P&gt;&lt;P&gt;    MOUSE_POS_Y .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMETHOD. &lt;/P&gt;&lt;P&gt;ENDCLASS. "c_reaction IMPLEMENTATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS c_reaction IMPLEMENTATION.&lt;/P&gt;&lt;P&gt;METHOD handle_picture_click.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMETHOD &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;HOW TO IMPORT the coordinates ??&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMETHOD. "h1&lt;/P&gt;&lt;P&gt;ENDCLASS. "c_reaction IMPLEMENTATION&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jan 2006 05:27:28 GMT</pubDate>
    <dc:creator>hymavathi_oruganti</dc:creator>
    <dc:date>2006-01-31T05:27:28Z</dc:date>
    <item>
      <title>Capture Event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capture-event/m-p/1196290#M129761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using class cl_gui_picture class inorder to display a picture on my screen. I am handling an event of Picture_Click. Following is the code for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS c_reaction DEFINITION.&lt;/P&gt;&lt;P&gt;  PUBLIC SECTION.&lt;/P&gt;&lt;P&gt;    METHODS h1 FOR EVENT picture_click OF cl_gui_picture.&lt;/P&gt;&lt;P&gt;ENDCLASS.                    "c_reaction DEFINITION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when the picture is clicked, i want to import the parameters ( Coordinates of the mouse clicked ) from the method DISPATCH of CL_GUI_PICTURE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i implemented the above class as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CLass Implementations &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CLASS c_reaction IMPLEMENTATION.&lt;/P&gt;&lt;P&gt;  METHOD h1.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;HOW TO IMPORT the coordinates ??&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDMETHOD.                    "h1&lt;/P&gt;&lt;P&gt;ENDCLASS.                    "c_reaction IMPLEMENTATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The method is exporting the parameters as follows :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                                   &lt;/P&gt;&lt;P&gt;WHEN EVENTID_PICTURE_CLICK.                        &lt;/P&gt;&lt;P&gt;  RAISE EVENT PICTURE_CLICK                        &lt;/P&gt;&lt;P&gt;              exporting mouse_pos_x = mouse_pos_x  &lt;/P&gt;&lt;P&gt;                        mouse_pos_y = mouse_pos_y. &lt;/P&gt;&lt;P&gt;                                                   &lt;/P&gt;&lt;P&gt;I am able to capture the event of picture click but along with it i want to capture the mouse coordinates which the event is exporting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2006 05:17:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capture-event/m-p/1196290#M129761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-31T05:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capture-event/m-p/1196291#M129762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CLASS c_reaction DEFINITION&lt;/P&gt;&lt;P&gt;METHOD handle_picture_click&lt;/P&gt;&lt;P&gt;for event PICTURE_CLICK OF CL_GUI_PICTURE&lt;/P&gt;&lt;P&gt;IMPORTING  MOUSE_POS_X &lt;/P&gt;&lt;P&gt;    MOUSE_POS_Y .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMETHOD. &lt;/P&gt;&lt;P&gt;ENDCLASS. "c_reaction IMPLEMENTATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS c_reaction IMPLEMENTATION.&lt;/P&gt;&lt;P&gt;METHOD handle_picture_click.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMETHOD &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;HOW TO IMPORT the coordinates ??&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMETHOD. "h1&lt;/P&gt;&lt;P&gt;ENDCLASS. "c_reaction IMPLEMENTATION&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2006 05:27:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capture-event/m-p/1196291#M129762</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2006-01-31T05:27:28Z</dc:date>
    </item>
  </channel>
</rss>

