<?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 Problems with Textedit control. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-textedit-control/m-p/3708982#M892972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my program I`m trying to show Textedit control on one of a program screens. I create a docking container (cl_gui_docking_container) and then Texedit control (cl_gui_textedit). If I call screen  using "&lt;STRONG&gt;call screen &lt;EM&gt;screen_number&lt;/EM&gt;&lt;/STRONG&gt;" Textedit control appears, but if I try to call screen using "&lt;STRONG&gt;call screen &lt;EM&gt;screen_name&lt;/EM&gt; starting at...&lt;/STRONG&gt;" the screen appears but the Textedit control doesn`t. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to resolve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Mikhail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Apr 2008 15:18:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-21T15:18:58Z</dc:date>
    <item>
      <title>Problems with Textedit control.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-textedit-control/m-p/3708982#M892972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my program I`m trying to show Textedit control on one of a program screens. I create a docking container (cl_gui_docking_container) and then Texedit control (cl_gui_textedit). If I call screen  using "&lt;STRONG&gt;call screen &lt;EM&gt;screen_number&lt;/EM&gt;&lt;/STRONG&gt;" Textedit control appears, but if I try to call screen using "&lt;STRONG&gt;call screen &lt;EM&gt;screen_name&lt;/EM&gt; starting at...&lt;/STRONG&gt;" the screen appears but the Textedit control doesn`t. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to resolve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Mikhail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2008 15:18:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-textedit-control/m-p/3708982#M892972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-21T15:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Textedit control.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-textedit-control/m-p/3708983#M892973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this out on an ECC5 systen and it worked fine - my docking control was on the left and the text edit appeared within this sized correctly..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  call screen 2000
    starting at 10 10.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and then&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  d2000_initialise
*&amp;amp;---------------------------------------------------------------------*
form d2000_initialise.

  data:
    l_text_length       like sy-tabix,
    l_line_length       like sy-tabix.

  if g_init is initial. "not yet run
    g_init  = 'X'.
    g_repid = sy-repid.
    g_dynnr = sy-dynnr.

* create the docking container
    create object go_docking
      exporting
        repid     = g_repid
        dynnr     = g_dynnr
        side      = go_docking-&amp;gt;dock_at_left
        extension = 180.
*" Add text editor:
    if not go_textedit is bound.
      l_text_length  = 10.
      l_line_length  = 10.

* TextEdit Control
      create object go_textedit
        exporting
          parent        = go_docking
          wordwrap_mode = cl_gui_textedit=&amp;gt;wordwrap_at_fixed_position
          max_number_chars           = l_text_length
          wordwrap_position          = l_line_length
          wordwrap_to_linebreak_mode = cl_gui_textedit=&amp;gt;true.

    endif.
  endif.

endform.                    "d2000_initialise
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 03:48:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-textedit-control/m-p/3708983#M892973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T03:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Textedit control.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-textedit-control/m-p/3708984#M892974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure that your screen type is modal dialogue box in screen attributes, for specifying 'starting at'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 04:59:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-textedit-control/m-p/3708984#M892974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T04:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Textedit control.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-textedit-control/m-p/3708985#M892975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply. It really works. I resolved this problem yesterday in the same way. I tried to init this objects in not PBO section before, and It worked only with screens called as &lt;STRONG&gt;call screen &lt;EM&gt;screen_name&lt;/EM&gt;&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Mikhail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 07:51:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-textedit-control/m-p/3708985#M892975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T07:51:18Z</dc:date>
    </item>
  </channel>
</rss>

