<?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: how to update the text box when app load in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/how-to-update-the-text-box-when-app-load/m-p/791329#M97035</link>
    <description>&lt;P&gt;I don't use application builder but I think you might have to move that outside of OnModuleLoad&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1725014231778.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/67731i8897C4070F24455B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1725014231778.png" alt="jthi_0-1725014231778.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Or maybe have the string creation inside onmoduleload and setting it outside (after objects have been created)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1725014310080.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/67732iAA28CA445E2AF567/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1725014310080.png" alt="jthi_1-1725014310080.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Aug 2024 10:38:40 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2024-08-30T10:38:40Z</dc:date>
    <item>
      <title>how to update the text box when app load</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-update-the-text-box-when-app-load/m-p/791307#M97034</link>
      <description>&lt;P&gt;I built a App for data loading from SQL. Here is two Text box for start and end data time select. Now I want to use the current time as the end time once the app running. But I can not achieve it as below shown. Could you show&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;OnModuleLoad({},
	s = Format( today(), "Format Pattern", "&amp;lt;YYYY&amp;gt;&amp;lt;-&amp;gt;&amp;lt;MM&amp;gt;&amp;lt;-&amp;gt;&amp;lt;DD&amp;gt;" );
	txt_endTime&amp;lt;&amp;lt;set text(s);
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 30 Aug 2024 09:30:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-update-the-text-box-when-app-load/m-p/791307#M97034</guid>
      <dc:creator>zql3050</dc:creator>
      <dc:date>2024-08-30T09:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to update the text box when app load</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-update-the-text-box-when-app-load/m-p/791329#M97035</link>
      <description>&lt;P&gt;I don't use application builder but I think you might have to move that outside of OnModuleLoad&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1725014231778.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/67731i8897C4070F24455B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1725014231778.png" alt="jthi_0-1725014231778.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Or maybe have the string creation inside onmoduleload and setting it outside (after objects have been created)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1725014310080.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/67732iAA28CA445E2AF567/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1725014310080.png" alt="jthi_1-1725014310080.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 10:38:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-update-the-text-box-when-app-load/m-p/791329#M97035</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-08-30T10:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to update the text box when app load</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-update-the-text-box-when-app-load/m-p/791691#M97048</link>
      <description>&lt;P&gt;Agree with&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;here - OnModuleLoad is basically a pseudo-function to receive arguments from another module at creation time - useful for creating things like launchers that instantiate other modules.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below are the default arguments included in a Module script - anything that uses the symbols created by the Module has to be placed after the&amp;nbsp;&lt;CODE class=" language-jsl"&gt;thisModuleInstance &amp;lt;&amp;lt; Create Objects;&lt;/CODE&gt;&amp;nbsp;line:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// This special function will receive parameters passed to CreateInstance()
OnModuleLoad({},
);

thisModuleInstance &amp;lt;&amp;lt; Create Objects;

// After this point your module instance objects have been created
// and can be referred to by name (for example, "Button1").

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 30 Aug 2024 17:14:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-update-the-text-box-when-app-load/m-p/791691#M97048</guid>
      <dc:creator>danschikore</dc:creator>
      <dc:date>2024-08-30T17:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to update the text box when app load</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-update-the-text-box-when-app-load/m-p/792959#M97077</link>
      <description>&lt;P&gt;Thanks! Your suggestion is right.&lt;/P&gt;</description>
      <pubDate>Sun, 01 Sep 2024 08:28:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-update-the-text-box-when-app-load/m-p/792959#M97077</guid>
      <dc:creator>zql3050</dc:creator>
      <dc:date>2024-09-01T08:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to update the text box when app load</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-update-the-text-box-when-app-load/m-p/792960#M97078</link>
      <description>&lt;P&gt;Got it. Thanks all very much!&lt;/P&gt;</description>
      <pubDate>Sun, 01 Sep 2024 08:28:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-update-the-text-box-when-app-load/m-p/792960#M97078</guid>
      <dc:creator>zql3050</dc:creator>
      <dc:date>2024-09-01T08:28:36Z</dc:date>
    </item>
  </channel>
</rss>

