<?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: Text object condition based on chart object minimised/maximised status in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Text-object-condition-based-on-chart-object-minimised-maximised/m-p/232324#M83963</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Sanchez , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the solution , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But can we include more than one object's Min or Max Condition and set the variable - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so can you share the code for the same plzz - as i am new to Qlikview &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate the Help &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Sai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Nov 2014 05:28:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-03T05:28:51Z</dc:date>
    <item>
      <title>Text object condition based on chart object minimised/maximised status</title>
      <link>https://community.qlik.com/t5/QlikView/Text-object-condition-based-on-chart-object-minimised-maximised/m-p/232315#M83954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to set a show condition for a text box based on whether a chart is minimised or not. I can't seem to find any way to do this? I'm assuming I might need to create a macro to reference the object minimised status?&lt;/P&gt;&lt;P&gt;As anyone got any examples of achieving this?&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 15:01:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-object-condition-based-on-chart-object-minimised-maximised/m-p/232315#M83954</guid>
      <dc:creator />
      <dc:date>2010-07-23T15:01:01Z</dc:date>
    </item>
    <item>
      <title>Text object condition based on chart object minimised/maximised status</title>
      <link>https://community.qlik.com/t5/QlikView/Text-object-condition-based-on-chart-object-minimised-maximised/m-p/232316#M83955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/forums/t/31501.aspx"&gt;http://community.qlik.com/forums/t/31501.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;i posted a similar question a week or 2 ago.&lt;/P&gt;&lt;P&gt;the best solution we could come up with was a macro that looks at the minimize/maximise status of the object and sets a variable accordingly&lt;/P&gt;&lt;P&gt;the variable could then be used in the show condition(multiple text boxes). or to set the text in the text box its self.(1 text box showing different text depending on the variable)&lt;/P&gt;&lt;P&gt;the problem was making the macro run, you can set it to run when the object is activated or deactivated but not minimised or maximised.&lt;BR /&gt;my suggestion was some sort of delay in the macro.&lt;/P&gt;&lt;P&gt;look at the examples in the post above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 15:37:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-object-condition-based-on-chart-object-minimised-maximised/m-p/232316#M83955</guid>
      <dc:creator />
      <dc:date>2010-07-23T15:37:10Z</dc:date>
    </item>
    <item>
      <title>Text object condition based on chart object minimised/maximised status</title>
      <link>https://community.qlik.com/t5/QlikView/Text-object-condition-based-on-chart-object-minimised-maximised/m-p/232317#M83956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for that and you're right. I'm hitting the same issues as you did on the min/max of the objects.&lt;/P&gt;&lt;P&gt;As I'm quite new to using macros, how would I define a variable in the macro that I could then reference in the conditional show of the text object (as you have done)?&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 16:03:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-object-condition-based-on-chart-object-minimised-maximised/m-p/232317#M83956</guid>
      <dc:creator />
      <dc:date>2010-07-23T16:03:35Z</dc:date>
    </item>
    <item>
      <title>Text object condition based on chart object minimised/maximised status</title>
      <link>https://community.qlik.com/t5/QlikView/Text-object-condition-based-on-chart-object-minimised-maximised/m-p/232318#M83957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi nick,&lt;/P&gt;&lt;P&gt;Whay i did was created the variable called "aVis" in Settings &amp;gt; Variable Overview.&lt;/P&gt;&lt;P&gt;then used this code in the macro&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;&lt;BR /&gt;Sub Eth&lt;BR /&gt;Set v = ActiveDocument.Variables("aVis") 'picks up the variable&lt;BR /&gt;Set A=ActiveDocument.GetSheetObject("CH02") ' pick up the chart object for checking its min/max.&lt;BR /&gt;s = v.getContent. String 'gets the value of the variable as a string&lt;BR /&gt;if A.isMaximised then 'if the chart is maximised&lt;BR /&gt;varContent = "aMax"&lt;BR /&gt;v.setContent varContent, true 'set the content to "aMax"&lt;BR /&gt;end if&lt;BR /&gt;'put in more conditions and outputs etc,&lt;BR /&gt;end sub&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;then use the in the text object,&lt;/P&gt;&lt;P&gt;if(aVis = "aMax",-1,0)&lt;BR /&gt;// -1 returns as true and 0 as false so if the variable = "aMax" then the statement returns -1 and the text object will show.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jul 2010 10:02:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-object-condition-based-on-chart-object-minimised-maximised/m-p/232318#M83957</guid>
      <dc:creator />
      <dc:date>2010-07-26T10:02:49Z</dc:date>
    </item>
    <item>
      <title>Text object condition based on chart object minimised/maximised status</title>
      <link>https://community.qlik.com/t5/QlikView/Text-object-condition-based-on-chart-object-minimised-maximised/m-p/232319#M83958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've built this new macro using the variable. When I call the macro from the sheet activate I can see that the variable value is changing correctly between "Max" and "Min", which is great. However...&lt;/P&gt;&lt;P&gt;1. The conditional on the text box isn't working. I've emulated what you've done, but the text box remains hidden no matter what. When does this conditional get checked on the text box control? I've tried calling the macro from the text box itself too just to see if that made any difference - but it didn't.&lt;/P&gt;&lt;P&gt;2. Possibly the answer to the first point, but where do you recommend calling the macro above? The sheet activate/deactivative is really going to work, neither will the chart activate/deactivate.&lt;/P&gt;&lt;P&gt;Think I'm still a bit unclear on how the events chain together in Qlikview!!&lt;/P&gt;&lt;P&gt;Thanks for your ongoing help, I'm getting there..!&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jul 2010 10:44:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-object-condition-based-on-chart-object-minimised-maximised/m-p/232319#M83958</guid>
      <dc:creator />
      <dc:date>2010-07-26T10:44:11Z</dc:date>
    </item>
    <item>
      <title>Text object condition based on chart object minimised/maximised status</title>
      <link>https://community.qlik.com/t5/QlikView/Text-object-condition-based-on-chart-object-minimised-maximised/m-p/232320#M83959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the if statement in the conditional box the the text needs to be in single speach marks.&lt;/P&gt;&lt;P&gt;e.g 'Max'&lt;/P&gt;&lt;P&gt;not "Max"&lt;/P&gt;&lt;P&gt;thats my fault sorry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i had it set up to run the macro at every possible oportunity, sheet activate/deactive and object activate/deactivate.&lt;/P&gt;&lt;P&gt;but if you minimise something then it wont change until you select another object so its not perfect.&lt;BR /&gt;as when you select the object the macro runs, and as it runs the object is still maximised. it then minimises but the macro wont run until you select another object.&lt;/P&gt;&lt;P&gt;i cant find anywhere to call the macro like onMaximise or onMinimise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jul 2010 11:01:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-object-condition-based-on-chart-object-minimised-maximised/m-p/232320#M83959</guid>
      <dc:creator />
      <dc:date>2010-07-26T11:01:11Z</dc:date>
    </item>
    <item>
      <title>Text object condition based on chart object minimised/maximised status</title>
      <link>https://community.qlik.com/t5/QlikView/Text-object-condition-based-on-chart-object-minimised-maximised/m-p/232321#M83960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, that's it - all working now (well, as best it can without the OnMaxmise/OnMinimise events anyway!).&lt;/P&gt;&lt;P&gt;Thanks for you help in working me through this, much appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jul 2010 11:20:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-object-condition-based-on-chart-object-minimised-maximised/m-p/232321#M83960</guid>
      <dc:creator />
      <dc:date>2010-07-26T11:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Text object condition based on chart object minimised/maximised status</title>
      <link>https://community.qlik.com/t5/QlikView/Text-object-condition-based-on-chart-object-minimised-maximised/m-p/232322#M83961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wanted to discover if changing object titles was possible depending on minimised/maximised state.&lt;/P&gt;&lt;P&gt;In part, this has been raised as an Idea here: &lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/ideas/http://community.qlik.com/ideas/1529" title="http://community.qlik.com/ideas/1529"&gt;http://community.qlik.com/ideas/1529&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but it needs Votes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Mar 2013 09:20:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-object-condition-based-on-chart-object-minimised-maximised/m-p/232322#M83961</guid>
      <dc:creator>graham-crooks</dc:creator>
      <dc:date>2013-03-23T09:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Text object condition based on chart object minimised/maximised status</title>
      <link>https://community.qlik.com/t5/QlikView/Text-object-condition-based-on-chart-object-minimised-maximised/m-p/232323#M83962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nick, I have a similar challenge with my new application. Can you please suggest what changes you did to the macro code to get it to work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 15:13:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-object-condition-based-on-chart-object-minimised-maximised/m-p/232323#M83962</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-19T15:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Text object condition based on chart object minimised/maximised status</title>
      <link>https://community.qlik.com/t5/QlikView/Text-object-condition-based-on-chart-object-minimised-maximised/m-p/232324#M83963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Sanchez , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the solution , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But can we include more than one object's Min or Max Condition and set the variable - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so can you share the code for the same plzz - as i am new to Qlikview &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate the Help &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Sai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 05:28:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-object-condition-based-on-chart-object-minimised-maximised/m-p/232324#M83963</guid>
      <dc:creator />
      <dc:date>2014-11-03T05:28:51Z</dc:date>
    </item>
  </channel>
</rss>

