<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: InfoPath form "busy" indicator</title><link>https://www.infopathdev.com:443/forums/thread/46097.aspx</link><pubDate>Thu, 20 Aug 2009 18:12:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46097</guid><dc:creator>lfsaunders</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46097.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=46097</wfw:commentRss><description>&lt;p&gt;The problem is exactly that the view doesn&amp;#39;t repaint while the button event is being processed.&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t know to do anything until the user clicks the button requesting the processing. But any conditional formatting I activate (display the busy image) at the begining of the button event code&amp;nbsp;just gets ignored because the view won&amp;#39;t repaint until the button event processing is complete. &lt;/p&gt;
&lt;p&gt;Forcing a&amp;nbsp;repaint inside the button click event after I set the conditional formating or&amp;nbsp;breaking the&amp;nbsp;calculation into two events (button event and separate event, raised by the button event,&amp;nbsp;to do the list processing), either would give me what I need. Ideas?&lt;/p&gt;</description></item><item><title>Re: InfoPath form "busy" indicator</title><link>https://www.infopathdev.com:443/forums/thread/45999.aspx</link><pubDate>Wed, 19 Aug 2009 06:27:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45999</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45999.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=45999</wfw:commentRss><description>&lt;p&gt;I think this is hard to do without writing some code. Rules to conditionally hide a section won&amp;#39;t work because the view won&amp;#39;t repaint until it comes back from the query (you might verify that, but that&amp;#39;s my understanding). You need to write some code that shows your indicator and then goes off to query the list. &lt;/p&gt;</description></item><item><title>InfoPath form "busy" indicator</title><link>https://www.infopathdev.com:443/forums/thread/45948.aspx</link><pubDate>Tue, 18 Aug 2009 02:33:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45948</guid><dc:creator>lfsaunders</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45948.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=45948</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m creating an InfoPath 2007&amp;nbsp;form (client, not browser) that connects with SharePoint lists. Sometimes the interactions with the lists are slow. What I&amp;#39;d like to do is create a visual indicator on the form that&amp;#39;s it&amp;#39;s &amp;quot;busy&amp;quot; processing the last request. &lt;/p&gt;
&lt;p&gt;I&amp;#39;ve got 2 images that I&amp;#39;ve placed in picture controls on the form, Busy and Not Busy. The busy image is hidden by default.&amp;nbsp;When a button is clicked that starts some long running process, I&amp;#39;d like to hide the not busy image and display the busy image, When the code for the long running process completes, hide the busy image and display the not busy image. &lt;/p&gt;
&lt;p&gt;What I&amp;#39;d like to do is find a way to make the form refresh its display after the button click event that starts the long running process. &lt;/p&gt;
&lt;p&gt;Ideas?&lt;/p&gt;</description></item></channel></rss>