<?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: CL_GUI_TEXTEDIT stops responding in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-textedit-stops-responding/m-p/8585848#M1661206</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can try doing CL_GUI_FLUSH=&amp;gt;FLUSH at every clear. I mean at the button click where you are clearing the textedit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kartik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Feb 2012 06:08:34 GMT</pubDate>
    <dc:creator>Kartik2</dc:creator>
    <dc:date>2012-02-07T06:08:34Z</dc:date>
    <item>
      <title>CL_GUI_TEXTEDIT stops responding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-textedit-stops-responding/m-p/8585847#M1661205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a screen with 2 customer containers.  The top one is an ALV grid that lists documents in a certain folder.  The bottom one is a TextEdit box.  Once the user double clicks a row of the ALV grid, the file is uploaded and is displayed in the TextEdit box.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works fine, however, I have a button under the two boxes.  When pressed all it does is clear the TextEdit box, using the delete_text() method.  When I click the button, the texts gets cleared fine, but then the double clicking of the ALV functionality doesn't work anymore.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've debugged the code and it hits the double_click event code, uploads the file like normal, but it doesn't display on the TextEdit box anymore.  Is there something about a TextEdit box that makes it stop working after you run through the PAI methods?  If you need to see code, let me know what part.  I've looked and I can't find anything.  Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Curtis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2012 15:42:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-textedit-stops-responding/m-p/8585847#M1661205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-06T15:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: CL_GUI_TEXTEDIT stops responding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-textedit-stops-responding/m-p/8585848#M1661206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can try doing CL_GUI_FLUSH=&amp;gt;FLUSH at every clear. I mean at the button click where you are clearing the textedit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kartik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 06:08:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-textedit-stops-responding/m-p/8585848#M1661206</guid>
      <dc:creator>Kartik2</dc:creator>
      <dc:date>2012-02-07T06:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: CL_GUI_TEXTEDIT stops responding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-textedit-stops-responding/m-p/8585849#M1661207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kartik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried adding a flush at the end and it didn't work.  Thanks for the suggestion though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Curtis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 14:34:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-textedit-stops-responding/m-p/8585849#M1661207</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-07T14:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: CL_GUI_TEXTEDIT stops responding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-textedit-stops-responding/m-p/8585850#M1661208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the double_click event, first free the editor using  CALL METHOD editor-&amp;gt;free.&lt;/P&gt;&lt;P&gt;Then again create object for editor and generate editor with new text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE OBJECT editor&lt;/P&gt;&lt;P&gt;            EXPORTING&lt;/P&gt;&lt;P&gt;              wordwrap_mode          = cl_gui_textedit=&amp;gt;wordwrap_at_fixed_position&lt;/P&gt;&lt;P&gt;              wordwrap_position      = 110&lt;/P&gt;&lt;P&gt;              wordwrap_to_linebreak_mode = cl_gui_textedit=&amp;gt;true&lt;/P&gt;&lt;P&gt;              parent                 = container&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     CALL METHOD editor-&amp;gt;set_textstream&lt;/P&gt;&lt;P&gt;            EXPORTING&lt;/P&gt;&lt;P&gt;              text = g_text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 09:44:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-textedit-stops-responding/m-p/8585850#M1661208</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-08T09:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: CL_GUI_TEXTEDIT stops responding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-textedit-stops-responding/m-p/8585851#M1661209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That does free the object and creates a new one, however, when I try to put text back in there, nothing shows up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call method o_ta-&amp;gt;set_text_as_r3table
    exporting table = t_file[].&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to populate the textedit box.  The variable t_file has the correct data.  It works fine up until I hit the "button" and go through the PAI module.  Then it stops working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 15:25:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-textedit-stops-responding/m-p/8585851#M1661209</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-08T15:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: CL_GUI_TEXTEDIT stops responding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-textedit-stops-responding/m-p/8585852#M1661210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I fixed it.  Along with "free"ing the textedit box using the FREE method, I also had to free and recreate the custom container as well.  Also, the code went in the PAI module after doing the clear instead of the double click event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all for you help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Curtis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 16:14:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-textedit-stops-responding/m-p/8585852#M1661210</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-08T16:14:00Z</dc:date>
    </item>
  </channel>
</rss>

