<?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 Button Colour should change when it is active i.e.  when it is clicked in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Button-Colour-should-change-when-it-is-active-i-e-when-it-is/m-p/231876#M83548</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a button which selects a multiple values of a field when we clik on it. And another button which unselects the values when we click on it.&lt;/P&gt;&lt;P&gt;I want that the colour of the button should change when we clik on it.So that i can distinguish between the buttons that it is cliked and it is active.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 May 2010 07:21:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-05-05T07:21:22Z</dc:date>
    <item>
      <title>Button Colour should change when it is active i.e.  when it is clicked</title>
      <link>https://community.qlik.com/t5/QlikView/Button-Colour-should-change-when-it-is-active-i-e-when-it-is/m-p/231876#M83548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a button which selects a multiple values of a field when we clik on it. And another button which unselects the values when we click on it.&lt;/P&gt;&lt;P&gt;I want that the colour of the button should change when we clik on it.So that i can distinguish between the buttons that it is cliked and it is active.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 May 2010 07:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-Colour-should-change-when-it-is-active-i-e-when-it-is/m-p/231876#M83548</guid>
      <dc:creator />
      <dc:date>2010-05-05T07:21:22Z</dc:date>
    </item>
    <item>
      <title>Button Colour should change when it is active i.e.  when it is clicked</title>
      <link>https://community.qlik.com/t5/QlikView/Button-Colour-should-change-when-it-is-active-i-e-when-it-is/m-p/231877#M83549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi rahul,&lt;/P&gt;&lt;P&gt;probably the following code should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub activate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set mybutton=activedocument.getsheetobject("BU01")&lt;/P&gt;&lt;P&gt;set prop= mybutton.getproperties&lt;/P&gt;&lt;P&gt;prop.bkgcolor.primarycol.col=rgb(0,255,0)&lt;/P&gt;&lt;P&gt;mybutton.setproperties prop&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub deactivate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set mybutton=activedocument.getsheetobject("BU01")&lt;/P&gt;&lt;P&gt;set prop= mybutton.getproperties&lt;/P&gt;&lt;P&gt;prop.bkgcolor.primarycol.col=rgb(255,255,255)&lt;/P&gt;&lt;P&gt;mybutton.setproperties prop&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 May 2010 07:39:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-Colour-should-change-when-it-is-active-i-e-when-it-is/m-p/231877#M83549</guid>
      <dc:creator />
      <dc:date>2010-05-05T07:39:42Z</dc:date>
    </item>
    <item>
      <title>Button Colour should change when it is active i.e.  when it is clicked</title>
      <link>https://community.qlik.com/t5/QlikView/Button-Colour-should-change-when-it-is-active-i-e-when-it-is/m-p/231878#M83550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tauqueer,&lt;/P&gt;&lt;P&gt;It has solved my purpose.It working as per my requirements.&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 May 2010 11:46:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-Colour-should-change-when-it-is-active-i-e-when-it-is/m-p/231878#M83550</guid>
      <dc:creator />
      <dc:date>2010-05-05T11:46:20Z</dc:date>
    </item>
    <item>
      <title>Button Colour should change when it is active i.e.  when it is clicked</title>
      <link>https://community.qlik.com/t5/QlikView/Button-Colour-should-change-when-it-is-active-i-e-when-it-is/m-p/231879#M83551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey... great solution.&lt;/P&gt;&lt;P&gt;This is great when you have one button,&lt;/P&gt;&lt;P&gt;what if i have a series of button? says 2?&lt;/P&gt;&lt;P&gt;then i want them to toggel between each other?&lt;/P&gt;&lt;P&gt;I was thinking of if else statement for the button, but i couldn't find the vb script to detect which button is clicked?&lt;/P&gt;&lt;P&gt;Any hints?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 05:02:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-Colour-should-change-when-it-is-active-i-e-when-it-is/m-p/231879#M83551</guid>
      <dc:creator />
      <dc:date>2011-02-22T05:02:40Z</dc:date>
    </item>
    <item>
      <title>Button Colour should change when it is active i.e.  when it is clicked</title>
      <link>https://community.qlik.com/t5/QlikView/Button-Colour-should-change-when-it-is-active-i-e-when-it-is/m-p/231880#M83552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! Nic,&lt;/P&gt;&lt;P&gt;Well this can be done with 2 buttons you can write activate and deactivate script in two different buttons and then we can toggle between them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 06:47:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-Colour-should-change-when-it-is-active-i-e-when-it-is/m-p/231880#M83552</guid>
      <dc:creator />
      <dc:date>2011-02-22T06:47:11Z</dc:date>
    </item>
    <item>
      <title>Button Colour should change when it is active i.e.  when it is clicked</title>
      <link>https://community.qlik.com/t5/QlikView/Button-Colour-should-change-when-it-is-active-i-e-when-it-is/m-p/231881#M83553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;Thanks for the suggestion, following is my code for 2 button, if i have 10 buttons in different tabs, i'd have 10 sets?&lt;/P&gt;&lt;P&gt;I'm trying to find the vbcode for...&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; if button 16 is click, get the active button 16 - BU16... how to translate to vbscript?&lt;/P&gt;&lt;P&gt;any idea?&lt;/P&gt;&lt;P&gt;&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 activate&lt;BR /&gt;set mybutton=activedocument.getsheetobject("BU16")&lt;BR /&gt;set prop= mybutton.getproperties&lt;BR /&gt;prop.bkgcolor.primarycol.col=rgb(0,255,0)&lt;BR /&gt;mybutton.setproperties prop&lt;BR /&gt;&lt;BR /&gt;set mybutton=activedocument.getsheetobject("BU17")&lt;BR /&gt;set prop= mybutton.getproperties&lt;BR /&gt;prop.bkgcolor.primarycol.col=rgb(0,51,170)&lt;BR /&gt;mybutton.setproperties prop&lt;BR /&gt;&lt;BR /&gt;end sub&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sub activate2&lt;BR /&gt;&lt;BR /&gt;set mybutton=activedocument.getsheetobject("BU17")&lt;BR /&gt;set prop= mybutton.getproperties&lt;BR /&gt;prop.bkgcolor.primarycol.col=rgb(0,255,0)&lt;BR /&gt;mybutton.setproperties prop&lt;BR /&gt;&lt;BR /&gt;set mybutton=activedocument.getsheetobject("BU16")&lt;BR /&gt;set prop= mybutton.getproperties&lt;BR /&gt;prop.bkgcolor.primarycol.col=rgb(0,51,170)&lt;BR /&gt;mybutton.setproperties prop&lt;BR /&gt;&lt;BR /&gt;end sub&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 07:08:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-Colour-should-change-when-it-is-active-i-e-when-it-is/m-p/231881#M83553</guid>
      <dc:creator />
      <dc:date>2011-02-22T07:08:12Z</dc:date>
    </item>
  </channel>
</rss>

