<?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 set variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-variable/m-p/246602#M93981</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;can i set a value to a variable when i maximize (or minimize) a chart ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot!&lt;/P&gt;&lt;P&gt;k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Feb 2012 09:26:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-02-02T09:26:51Z</dc:date>
    <item>
      <title>set variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-variable/m-p/246602#M93981</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;can i set a value to a variable when i maximize (or minimize) a chart ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot!&lt;/P&gt;&lt;P&gt;k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 09:26:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-variable/m-p/246602#M93981</guid>
      <dc:creator />
      <dc:date>2012-02-02T09:26:51Z</dc:date>
    </item>
    <item>
      <title>set variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-variable/m-p/246603#M93982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, you can write a macro something allog the lines of the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set obj = activedocument.getsheetobject("CH01")&lt;/P&gt;&lt;P&gt;if obj.ismaximized then&lt;/P&gt;&lt;P&gt;activeDocument.Variables("CH01").SetContent "TRUE",false&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;activeDocument.Variables("CH01").SetContent "FALSE",false&lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where you are setting the value of the variable named CH01 and the chart object id is CH01, then you can set a trigger on the document/sheet that will call the macro when ever a selection etc is made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 11:21:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-variable/m-p/246603#M93982</guid>
      <dc:creator>sbaldwin</dc:creator>
      <dc:date>2012-02-02T11:21:56Z</dc:date>
    </item>
    <item>
      <title>set variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-variable/m-p/246604#M93983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kalinkula,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sadly there is no way to trigger variable changes on minimise / maximise, the cleanest way of doing it is with the macro that Sbaldwin suggested.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However if you are not fond of macros you can make a button that can minimise the chart as well as set the variable when it is pressed. This can be found in the Action tab of the button menu setting a variable is the the external section of that tab and minimize / maximize is found in the layout section of the actions tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 11:25:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-variable/m-p/246604#M93983</guid>
      <dc:creator>oxtontom</dc:creator>
      <dc:date>2012-02-02T11:25:44Z</dc:date>
    </item>
  </channel>
</rss>

