<?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: Macro to turn Auto Minimize on/off in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-to-turn-Auto-Minimize-on-off/m-p/1526626#M748013</link>
    <description>&lt;P&gt;Example code from the API Guide:&lt;/P&gt;&lt;P&gt;rem ** Set auto-minimize flag for a chart **&lt;BR /&gt;set g = ActiveDocument.GetSheetObject("CH01")&lt;BR /&gt;set gp = g.GetProperties&lt;BR /&gt;gp.GraphLayout.Frame.AutoMinimize = true&lt;BR /&gt;g.SetProperties gp&lt;/P&gt;&lt;P&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Jan 2019 22:06:57 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2019-01-04T22:06:57Z</dc:date>
    <item>
      <title>Macro to turn Auto Minimize on/off</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-turn-Auto-Minimize-on-off/m-p/1526593#M748012</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;This is my first question in this community. Sorry in advance if I make any formatting mistake.&lt;/P&gt;&lt;P&gt;I hope someone can help me&amp;nbsp;with this: I have 4 buttons in my report, each one of them changes the way the user can view the charts.&lt;/P&gt;&lt;P&gt;1st button: "Maximizes" all charts, allowing the user to see only 1 chart at a time (in any given sheet).&lt;/P&gt;&lt;P&gt;2nd button: splits&amp;nbsp;all charts and resizes them so the user can compare 2 charts. This button splits the charts vertically.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3rd button: splits&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;all&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;charts and resizes them so the user can compare 2 charts. This button splits the charts horizontally.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4th button: splits all charts and resizes them so the user can compare 4 charts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So far, this works well but...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;All&amp;nbsp;charts have the option "Auto Minimize" turned ON. Yes, I can turn it off for every single chart but in case the user is viewing the info&amp;nbsp;one chart at a time (with the first button), charts could get one in front of another.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What I want to know is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is&amp;nbsp; there a property of the object to turn auto minimize on/off through macro?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far I've tried things like:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;set xObject = ActiveDocument.GetSheetObject("Tick_Ch_TickM")&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;xObject.autominimize = false&amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;But had no success.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance! I don't think I need to share the file, because all I want is to &lt;STRONG&gt;turn on/off autominimize for a chart, through a macro.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:50:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-turn-Auto-Minimize-on-off/m-p/1526593#M748012</guid>
      <dc:creator>LuisMa</dc:creator>
      <dc:date>2024-11-16T04:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to turn Auto Minimize on/off</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-turn-Auto-Minimize-on-off/m-p/1526626#M748013</link>
      <description>&lt;P&gt;Example code from the API Guide:&lt;/P&gt;&lt;P&gt;rem ** Set auto-minimize flag for a chart **&lt;BR /&gt;set g = ActiveDocument.GetSheetObject("CH01")&lt;BR /&gt;set gp = g.GetProperties&lt;BR /&gt;gp.GraphLayout.Frame.AutoMinimize = true&lt;BR /&gt;g.SetProperties gp&lt;/P&gt;&lt;P&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 22:06:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-turn-Auto-Minimize-on-off/m-p/1526626#M748013</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2019-01-04T22:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to turn Auto Minimize on/off</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-turn-Auto-Minimize-on-off/m-p/1527690#M748014</link>
      <description>&lt;P&gt;Worked like a charm!&lt;/P&gt;&lt;P&gt;Thank you, Rob.&lt;/P&gt;&lt;P&gt;In case I need to set another object property with macros and don't want to bother the community with another post, where could I find a list with the property code names?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 12:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-turn-Auto-Minimize-on-off/m-p/1527690#M748014</guid>
      <dc:creator>LuisMa</dc:creator>
      <dc:date>2019-01-08T12:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to turn Auto Minimize on/off</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-turn-Auto-Minimize-on-off/m-p/1527739#M748015</link>
      <description>&lt;P&gt;The current API Guide&amp;nbsp;&lt;EM&gt;should&amp;nbsp;&lt;/EM&gt; be downloadable here&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/qlikview-developer/November2018/Content/QV_HelpSites/APIsAndSDKs.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview-developer/November2018/Content/QV_HelpSites/APIsAndSDKs.htm&lt;/A&gt; under "&lt;A href="https://help.qlik.com/en-US/qlikview-developer/November2018/Subsystems/Automation/Content/QV_Automation/APIGuide/QlikViewComApiGuide.zip" target="_blank"&gt;QlikView COM API reference&lt;/A&gt;". However, this link downloads an old V10 document.&amp;nbsp; I've reported the problem in a feedback.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the meantime, I'm attaching the V11 doc which is the latest I have.&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 13:09:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-turn-Auto-Minimize-on-off/m-p/1527739#M748015</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2019-01-08T13:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to turn Auto Minimize on/off</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-turn-Auto-Minimize-on-off/m-p/1527742#M748017</link>
      <description>Thanks again, Rob!&lt;BR /&gt;Kind regards,</description>
      <pubDate>Tue, 08 Jan 2019 13:11:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-turn-Auto-Minimize-on-off/m-p/1527742#M748017</guid>
      <dc:creator>LuisMa</dc:creator>
      <dc:date>2019-01-08T13:11:22Z</dc:date>
    </item>
  </channel>
</rss>

