<?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 Regarding cl_gui_textedit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-cl-gui-textedit/m-p/2901710#M682431</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the class cl_gui_textedit to get a text window thereby I can get a multiline input field.&lt;/P&gt;&lt;P&gt;My problem is I don't want the first row ( which contains the options 'load local file' ,'save as local file' options) and last rows (which displays the line number and column number) .Is there any means?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Soumya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Oct 2007 08:51:53 GMT</pubDate>
    <dc:creator>soumya_jose3</dc:creator>
    <dc:date>2007-10-11T08:51:53Z</dc:date>
    <item>
      <title>Regarding cl_gui_textedit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-cl-gui-textedit/m-p/2901710#M682431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the class cl_gui_textedit to get a text window thereby I can get a multiline input field.&lt;/P&gt;&lt;P&gt;My problem is I don't want the first row ( which contains the options 'load local file' ,'save as local file' options) and last rows (which displays the line number and column number) .Is there any means?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Soumya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 08:51:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-cl-gui-textedit/m-p/2901710#M682431</guid>
      <dc:creator>soumya_jose3</dc:creator>
      <dc:date>2007-10-11T08:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding cl_gui_textedit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-cl-gui-textedit/m-p/2901711#M682432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF init is initial.
    init = 'X'.
*    CREATE OBJECT: container EXPORTING container_name = 'TEXTEDIT',
*                   editor    EXPORTING parent = container.


CREATE OBJECT CONTAINER
  EXPORTING
*    PARENT                      =
    CONTAINER_NAME              = 'TEXTEDIT'
*    STYLE                       =
*    LIFETIME                    = lifetime_default
*    REPID                       =
*    DYNNR                       =
*    NO_AUTODEF_PROGID_DYNNR     =
*  EXCEPTIONS
*    CNTL_ERROR                  = 1
*    CNTL_SYSTEM_ERROR           = 2
*    CREATE_ERROR                = 3
*    LIFETIME_ERROR              = 4
*    LIFETIME_DYNPRO_DYNPRO_LINK = 5
*    others                      = 6
    .
IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.


CREATE OBJECT EDITOR
  EXPORTING
*    MAX_NUMBER_CHARS       =
*    STYLE                  = 0
*    WORDWRAP_MODE          = 0
*    WORDWRAP_POSITION      = -1
*    WORDWRAP_TO_LINEBREAK_MODE = FALSE
*    FILEDROP_MODE          = DROPFILE_EVENT_OFF
    PARENT                 = container
*    LIFETIME               =
*    NAME                   =
*  EXCEPTIONS
*    ERROR_CNTL_CREATE      = 1
*    ERROR_CNTL_INIT        = 2
*    ERROR_CNTL_LINK        = 3
*    ERROR_DP_CREATE        = 4
*    GUI_TYPE_NOT_SUPPORTED = 5
*    others                 = 6
    .
IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

&amp;lt;b&amp;gt;CALL METHOD EDITOR-&amp;gt;SET_STATUSBAR_MODE
  EXPORTING
    STATUSBAR_MODE         = 0
  EXCEPTIONS
    ERROR_CNTL_CALL_METHOD = 1
    INVALID_PARAMETER      = 2
    others                 = 3
        .
IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.&amp;lt;/b&amp;gt;
&amp;lt;b&amp;gt;CALL METHOD EDITOR-&amp;gt;SET_TOOLBAR_MODE
  EXPORTING
    TOOLBAR_MODE           = 0
  EXCEPTIONS
    ERROR_CNTL_CALL_METHOD = 1
    INVALID_PARAMETER      = 2
    others                 = 3
        .
IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.&amp;lt;/b&amp;gt;
  ENDIF.
  CALL METHOD editor-&amp;gt;set_text_as_stream EXPORTING text = text_tab.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your PBO &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 09:41:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-cl-gui-textedit/m-p/2901711#M682432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T09:41:31Z</dc:date>
    </item>
  </channel>
</rss>

