<?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: A question about the textpad-component in SAS/AF in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/A-question-about-the-textpad-component-in-SAS-AF/m-p/137745#M261280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you only change the SCL List contents the widget is not aware of any changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can you the _refresh, or _needRefresh method, so that the widget redraws it s content.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; rc = insertc(textPad.text, tempString, -1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; textPad._needRefresh();&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Mar 2014 08:20:08 GMT</pubDate>
    <dc:creator>BrunoMueller</dc:creator>
    <dc:date>2014-03-10T08:20:08Z</dc:date>
    <item>
      <title>A question about the textpad-component in SAS/AF</title>
      <link>https://communities.sas.com/t5/SAS-Programming/A-question-about-the-textpad-component-in-SAS-AF/m-p/137744#M261279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Building applications is still a bit new for me, so this question may seem stupid for experts in SAS/AF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added a textpad-component in my frame. Then, in my scl-program I would like to have some control of the text that appears in the textpad, forexample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rc=insertc(mytextpad.text,'This is the firstline',-1);&lt;/P&gt;&lt;P&gt;rc=insertc(mytextpad.text,'This is the second line',-1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why does the textpad not show these two lines? Do I need to call some function to get the textpad updated with the new entries?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made some experience with using a text-entry component instead. here the text is autmatically updated, but this component can only contain one line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jacob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Mar 2014 21:11:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/A-question-about-the-textpad-component-in-SAS-AF/m-p/137744#M261279</guid>
      <dc:creator>JacobSimonsen</dc:creator>
      <dc:date>2014-03-09T21:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: A question about the textpad-component in SAS/AF</title>
      <link>https://communities.sas.com/t5/SAS-Programming/A-question-about-the-textpad-component-in-SAS-AF/m-p/137745#M261280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you only change the SCL List contents the widget is not aware of any changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can you the _refresh, or _needRefresh method, so that the widget redraws it s content.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; rc = insertc(textPad.text, tempString, -1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; textPad._needRefresh();&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 08:20:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/A-question-about-the-textpad-component-in-SAS-AF/m-p/137745#M261280</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2014-03-10T08:20:08Z</dc:date>
    </item>
  </channel>
</rss>

