<?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 Enable/Disable Button in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Enable-Disable-Button/m-p/339299#M125169</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks It Works!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Mar 2012 10:00:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-03-07T10:00:00Z</dc:date>
    <item>
      <title>Enable/Disable Button</title>
      <link>https://community.qlik.com/t5/QlikView/Enable-Disable-Button/m-p/339296#M125166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to disable a button when clicked and enable it when another button is clicked.&lt;/P&gt;&lt;P&gt;I am using the ffg code in my macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set buttonOn = ActiveDocument.GetSheetObject("BU04")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set b1 = buttonOn.GetProperties&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set buttonOff = ActiveDocument.GetSheetObject("BU05")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set b2 = buttonOff.GetProperties&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b2.Enable = 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b1.Enable = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; buttonOn.SetProperties b1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; buttonOff.SetProperties b2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Razak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2012 09:40:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Enable-Disable-Button/m-p/339296#M125166</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-07T09:40:07Z</dc:date>
    </item>
    <item>
      <title>Enable/Disable Button</title>
      <link>https://community.qlik.com/t5/QlikView/Enable-Disable-Button/m-p/339297#M125167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Instead of do a trick like have two buttons in same place.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. with actions(enabled state)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.without actions(disabled state)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; On clicking the button enable/Disable show and hide the buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2012 09:50:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Enable-Disable-Button/m-p/339297#M125167</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-03-07T09:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Enable/Disable Button</title>
      <link>https://community.qlik.com/t5/QlikView/Enable-Disable-Button/m-p/339298#M125168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;You don't need a macro. Just actions and enable condition.&lt;/P&gt;&lt;P&gt;Use actions to set a variable. ( Actions - External Action -&amp;gt; Set Variable) &lt;/P&gt;&lt;P&gt;Then, use this variable in the enable condition of the button (button properties -&amp;gt; general tab) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used this in the attachment. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2012 09:54:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Enable-Disable-Button/m-p/339298#M125168</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2012-03-07T09:54:22Z</dc:date>
    </item>
    <item>
      <title>Enable/Disable Button</title>
      <link>https://community.qlik.com/t5/QlikView/Enable-Disable-Button/m-p/339299#M125169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks It Works!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2012 10:00:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Enable-Disable-Button/m-p/339299#M125169</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-07T10:00:00Z</dc:date>
    </item>
    <item>
      <title>Enable/Disable Button</title>
      <link>https://community.qlik.com/t5/QlikView/Enable-Disable-Button/m-p/339300#M125170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you can do that without using a macro. In the trigger of the Button you can set a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create a &lt;EM&gt;Variable&lt;/EM&gt; with the value 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Then in your button create the trigger wich will set this &lt;EM&gt;variable&lt;/EM&gt; to&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;3. And in the tab "layout" you set a condition to enable the button when the variable = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. In your second button create another trigger wich will set the variable to 0&lt;/P&gt;&lt;P&gt;5. And in the tab layout set a condition to enable the button when the variable = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Pauline&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2012 10:06:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Enable-Disable-Button/m-p/339300#M125170</guid>
      <dc:creator />
      <dc:date>2012-03-07T10:06:09Z</dc:date>
    </item>
  </channel>
</rss>

