<?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: Message kept visible during macro running behind in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Message-kept-visible-during-macro-running-behind/m-p/460342#M171837</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;You may just need to add a command after step 3 and your main code.&lt;/P&gt;&lt;P&gt;Eventually, the code would set the variables but the interface would take some time to be updated. &lt;/P&gt;&lt;P&gt;You can force the screen update with &lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ActiveDocument.GetApplication.Refresh&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... and the text box will appear&lt;/P&gt;&lt;P&gt;(maybe you can use waitforidle instead of refresh... I'm not sure) &lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Nov 2012 18:19:58 GMT</pubDate>
    <dc:creator>erichshiino</dc:creator>
    <dc:date>2012-11-23T18:19:58Z</dc:date>
    <item>
      <title>Message kept visible during macro running behind</title>
      <link>https://community.qlik.com/t5/QlikView/Message-kept-visible-during-macro-running-behind/m-p/460340#M171835</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;I have a macro run as post reload trigger.&lt;/P&gt;&lt;P&gt;Doeas someone know the possibility to create message box (without any buttons and f.e with text "Wait...") being kept visible during macro is running behind, and automaticaly self closing when the end message: "Procedure is finished" is released from this macro?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would it be WaitForIdle used in some way?&lt;/P&gt;&lt;P&gt;I would really apprecite support&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zibi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Nov 2012 20:01:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Message-kept-visible-during-macro-running-behind/m-p/460340#M171835</guid>
      <dc:creator />
      <dc:date>2012-11-22T20:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Message kept visible during macro running behind</title>
      <link>https://community.qlik.com/t5/QlikView/Message-kept-visible-during-macro-running-behind/m-p/460341#M171836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Conceptually speaking (not tested... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;), this should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. create a variable ("vShowMessage") and set its initial value to zero&lt;/P&gt;&lt;P&gt;2. create a textbox with the text "Wait..." and config the textbox as Show Conditional when vShowMessage=1&lt;/P&gt;&lt;P&gt;3. At the beginning of your macro, set vShowMessage = 1&lt;/P&gt;&lt;P&gt;4. At the end of your macro, set vShowMessage = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think WaitForIdle isn't necessary.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 18:00:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Message-kept-visible-during-macro-running-behind/m-p/460341#M171836</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2012-11-23T18:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Message kept visible during macro running behind</title>
      <link>https://community.qlik.com/t5/QlikView/Message-kept-visible-during-macro-running-behind/m-p/460342#M171837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;You may just need to add a command after step 3 and your main code.&lt;/P&gt;&lt;P&gt;Eventually, the code would set the variables but the interface would take some time to be updated. &lt;/P&gt;&lt;P&gt;You can force the screen update with &lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ActiveDocument.GetApplication.Refresh&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... and the text box will appear&lt;/P&gt;&lt;P&gt;(maybe you can use waitforidle instead of refresh... I'm not sure) &lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 18:19:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Message-kept-visible-during-macro-running-behind/m-p/460342#M171837</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2012-11-23T18:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Message kept visible during macro running behind</title>
      <link>https://community.qlik.com/t5/QlikView/Message-kept-visible-during-macro-running-behind/m-p/460343#M171838</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;Victory!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The method proposed by Fernando I had used alredy before - it did not work.&lt;/P&gt;&lt;P&gt;But together with the idea which Erich contributed with - after some my combinations works perfectly!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Summary for all potentially interested in:&lt;/P&gt;&lt;P&gt;What I found/experienced: After step 3 &lt;STRONG&gt;BOTH(!) commands&lt;/STRONG&gt; proposed by Erich must be used, &lt;STRONG&gt;what more - in proper order.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;So:&lt;/P&gt;&lt;P&gt;after step 3:&lt;/P&gt;&lt;P&gt;a) Place command ActiveDocument.GetApplication.WaitForIdle&lt;/P&gt;&lt;P&gt;b) Place command ActiveDocument.GetApplication.Refresh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you used only one of these commands, or in opposite order - in best case result would not be as expected, and even some sensitive users might meet a hearbrake... seeing for the moment crossses on all objects...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Fernando and Shino! I have a feeling we found something new...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;brgds&lt;/P&gt;&lt;P&gt;Zibi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 23:53:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Message-kept-visible-during-macro-running-behind/m-p/460343#M171838</guid>
      <dc:creator />
      <dc:date>2012-11-23T23:53:06Z</dc:date>
    </item>
  </channel>
</rss>

