<?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 SV:Re: msgbox in AjaxZFC client in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/msgbox-in-AjaxZFC-client/m-p/166267#M1282878</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Miguel,&lt;/P&gt;&lt;P&gt;I take your answer as a confirmation that the vb function msgbox does not work for ajax.&lt;/P&gt;&lt;P&gt;The code you submitted works as a workaround, (at least for msgboxes without yes/no-buttons)&lt;/P&gt;&lt;P&gt;but I omitted the SetLayer lines and instead placed the IDXX-object at the "Top" level layer, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Sub ShowText&lt;BR /&gt; set vis = ActiveDocument.Variables("IDXX")&lt;BR /&gt; val = vis.GetContent.String&lt;BR /&gt; if val = 0 then&lt;BR /&gt; vis.SetContent 1, true&lt;BR /&gt; else&lt;BR /&gt; vis.SetContent 0, true&lt;BR /&gt; end if&lt;BR /&gt;End Sub&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2010 13:19:21 GMT</pubDate>
    <dc:creator>gandalfgray</dc:creator>
    <dc:date>2010-12-10T13:19:21Z</dc:date>
    <item>
      <title>msgbox in AjaxZFC client</title>
      <link>https://community.qlik.com/t5/QlikView/msgbox-in-AjaxZFC-client/m-p/166265#M1282875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone been able to get msgbox to work in an AjaxZFC client?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/msgbox-in-AjaxZFC-client/m-p/166265#M1282875</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>msgbox in AjaxZFC client</title>
      <link>https://community.qlik.com/t5/QlikView/msgbox-in-AjaxZFC-client/m-p/166266#M1282877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Goran,&lt;/P&gt;&lt;P&gt;I've used instead a visible/hide textbox set in a very high layer, so it's always displayed over the objects. Using a button with a simple macro to set one variable (say vVisible) to 1 or 0 and set this textbox to show conditionally based on that variable will do the work.&lt;/P&gt;&lt;P&gt;Macro code for button might look like as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sub ShowText set vis = ActiveDocument.Variables("vVisible") val = vis.GetContent.String if val = 0 then ActiveDocument.GetSheetObject("IDXX").SetLayer 10 vis.SetContent 1, true else ActiveDocument.GetSheetObject("IDXX").SetLayer -10 vis.SetContent 0, true end ifEnd Sub&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Although it's not properly a msgbox, it will display any message and it may trigger some otehr actions.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 12:00:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/msgbox-in-AjaxZFC-client/m-p/166266#M1282877</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-12-10T12:00:11Z</dc:date>
    </item>
    <item>
      <title>SV:Re: msgbox in AjaxZFC client</title>
      <link>https://community.qlik.com/t5/QlikView/msgbox-in-AjaxZFC-client/m-p/166267#M1282878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Miguel,&lt;/P&gt;&lt;P&gt;I take your answer as a confirmation that the vb function msgbox does not work for ajax.&lt;/P&gt;&lt;P&gt;The code you submitted works as a workaround, (at least for msgboxes without yes/no-buttons)&lt;/P&gt;&lt;P&gt;but I omitted the SetLayer lines and instead placed the IDXX-object at the "Top" level layer, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Sub ShowText&lt;BR /&gt; set vis = ActiveDocument.Variables("IDXX")&lt;BR /&gt; val = vis.GetContent.String&lt;BR /&gt; if val = 0 then&lt;BR /&gt; vis.SetContent 1, true&lt;BR /&gt; else&lt;BR /&gt; vis.SetContent 0, true&lt;BR /&gt; end if&lt;BR /&gt;End Sub&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 13:19:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/msgbox-in-AjaxZFC-client/m-p/166267#M1282878</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2010-12-10T13:19:21Z</dc:date>
    </item>
  </channel>
</rss>

