<?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 with fixed lines in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-textedit-with-fixed-lines/m-p/4154021#M993238</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;&lt;/P&gt;&lt;P&gt;Set it in the simple data type length or else try it in length property of inputfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nikunj Shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jul 2008 10:01:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-11T10:01:38Z</dc:date>
    <item>
      <title>cl_gui_textedit with fixed lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-textedit-with-fixed-lines/m-p/4154020#M993237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using cl_gui_textedit that the user can add&lt;/P&gt;&lt;P&gt;some text.&lt;/P&gt;&lt;P&gt;Now we need to restrict it max 5 lines and max 40 per line&lt;/P&gt;&lt;P&gt;so a max of 200 char.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use at the moment&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CREATE OBJECT g_editor
          EXPORTING
           parent = g_editor_container
           wordwrap_mode =
              cl_gui_textedit=&amp;gt;wordwrap_at_fixed_position
           wordwrap_position = 40
           MAX_NUMBER_CHARS  = 200
           wordwrap_to_linebreak_mode = cl_gui_textedit=&amp;gt;true.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but now if the user dont fill every line until 40 he can write&lt;/P&gt;&lt;P&gt;much more than 5 lines.&lt;/P&gt;&lt;P&gt;I know I can finaly ask with &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL METHOD g_editor-&amp;gt;get_line_count&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;the count of lines but if possible I want to restrict it&lt;/P&gt;&lt;P&gt;before he press save button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried also to fill the 5 lines with space but does not work&lt;/P&gt;&lt;P&gt;any idea ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help... thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible ? Or can I fill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 09:46:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-textedit-with-fixed-lines/m-p/4154020#M993237</guid>
      <dc:creator>former_member216100</dc:creator>
      <dc:date>2008-07-11T09:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: cl_gui_textedit with fixed lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-textedit-with-fixed-lines/m-p/4154021#M993238</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;&lt;/P&gt;&lt;P&gt;Set it in the simple data type length or else try it in length property of inputfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nikunj Shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 10:01:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-textedit-with-fixed-lines/m-p/4154021#M993238</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T10:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: cl_gui_textedit with fixed lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-textedit-with-fixed-lines/m-p/4154022#M993239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I do not understand what I should do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here how my internal table is build.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
   DATA:     G_MYTABLE(LINE_LENGTH) TYPE C OCCURS 0,
    WA_MYTABLE(LINE_LENGTH),

    DO 5 TIMES.
      WA_MYTABLE(LINE_LENGTH) = SPACE.
      APPEND WA_MYTABLE TO G_MYTABLE.
    ENDDO.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please let me know what I should do&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 10:24:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-textedit-with-fixed-lines/m-p/4154022#M993239</guid>
      <dc:creator>former_member216100</dc:creator>
      <dc:date>2008-07-11T10:24:50Z</dc:date>
    </item>
  </channel>
</rss>

