<?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: Status bar in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Status-bar/m-p/683624#M247829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or you can use &lt;SPAN style="color: #666666; font-family: 'Courier New', Courier, monospace; font-size: 12px; background-color: #f0f0f0;"&gt;MsgBox "Your message" in between your macros to know which stage it is running.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jul 2014 05:52:03 GMT</pubDate>
    <dc:creator>Siva_Sankar</dc:creator>
    <dc:date>2014-07-16T05:52:03Z</dc:date>
    <item>
      <title>Status bar</title>
      <link>https://community.qlik.com/t5/QlikView/Status-bar/m-p/683622#M247827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to manipulate the Status bar in Qlikview macro..so that I could see the progress of my macro.&lt;/P&gt;&lt;P&gt;So could somebody help me code this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Vj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 05:41:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Status-bar/m-p/683622#M247827</guid>
      <dc:creator />
      <dc:date>2014-07-16T05:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Status bar</title>
      <link>https://community.qlik.com/t5/QlikView/Status-bar/m-p/683623#M247828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I was able to figure this out.&amp;nbsp; I created a text box, and named it "StatusBar."&amp;nbsp; I then created the below function and called the function whenever I wanted something displayed to the user DURING processing of the VB. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I found that the "WaitForIdle" command would make sure the text box would refresh such that the user would see the content in the "StatusBar" text box.&amp;nbsp; I also found that the "WaitForIdle" command is expensive in terms of processing time.&amp;nbsp; So I also added a parameter in the function "sUpdateScreen" that I could use to tell the function to update the screen or not.&amp;nbsp; Passing "CLS" to the function clears the text box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FUNCTION StatusBar(sStatusBar,sUpdateScreen)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; set myObject = ActiveDocument.GetSheetObject("StatusBar")&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; set myObjectProp = myObject.GetProperties&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; SELECT CASE sStatusBar&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; CASE "CLS"&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; myobject.SetText ""&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; CASE ELSE&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; myobject.SetText now &amp;amp; ":&amp;nbsp; " &amp;amp; sStatusBar &amp;amp; chr(10) &amp;amp; myobject.GetText&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; END SELECT&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; if sUpdateScreen = True then ActiveDocument.GetApplication.WaitForIdle&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;END FUNCTION&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 05:49:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Status-bar/m-p/683623#M247828</guid>
      <dc:creator>Siva_Sankar</dc:creator>
      <dc:date>2014-07-16T05:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Status bar</title>
      <link>https://community.qlik.com/t5/QlikView/Status-bar/m-p/683624#M247829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or you can use &lt;SPAN style="color: #666666; font-family: 'Courier New', Courier, monospace; font-size: 12px; background-color: #f0f0f0;"&gt;MsgBox "Your message" in between your macros to know which stage it is running.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 05:52:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Status-bar/m-p/683624#M247829</guid>
      <dc:creator>Siva_Sankar</dc:creator>
      <dc:date>2014-07-16T05:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Status bar</title>
      <link>https://community.qlik.com/t5/QlikView/Status-bar/m-p/683625#M247830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your quick response Siva. It's a good way to show the progress.However I wonder instead of creating a text box, if we could somehow use ShowStatusBar property to accept string value to show at the status bar itself. I don't find much help from API in this regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Vj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 06:33:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Status-bar/m-p/683625#M247830</guid>
      <dc:creator />
      <dc:date>2014-07-16T06:33:01Z</dc:date>
    </item>
  </channel>
</rss>

