<?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 Color Button in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Color-Button/m-p/184777#M501427</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marco,&lt;/P&gt;&lt;P&gt;Check this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sub ChangeBtnColor set vStatus = ActiveDocument.GetVariable("vButtonClicked") s = vStatus.GetContent.String set btn = ActiveDocument.GetSheetObject("BU01") set prop = btn.GetProperties if s = "1" then prop.BkgColor.PrimaryCol.Col = RGB(255,0,0) prop.TextColor.PrimaryCol.Col = RGB(255,255,255) btn.SetProperties prop vStatus.SetContent "0", true else prop.BkgColor.PrimaryCol.Col = RGB(0,0,255) prop.TextColor.PrimaryCol.Col = RGB(0,0,0) btn.SetProperties prop vStatus.SetContent "1", true end if End Sub&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I use a variable to check if the button as been clicked. You can skip that part.&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Nov 2010 13:57:12 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2010-11-12T13:57:12Z</dc:date>
    <item>
      <title>Color Button</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Button/m-p/184776#M501426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Guys, I need to change the color button in a macro but with a button macro property. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set button1 = ActiveDocument.getsheetobject("BU75")&lt;BR /&gt;set buttonprop = button1.GetProperties&lt;/P&gt;&lt;P&gt;buttonpro.color = "#12345" or buttonpro.color = "rgb(255,0,0')" or etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I need the method for the button object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks [;)]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Nov 2010 13:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Button/m-p/184776#M501426</guid>
      <dc:creator />
      <dc:date>2010-11-12T13:42:18Z</dc:date>
    </item>
    <item>
      <title>Color Button</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Button/m-p/184777#M501427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marco,&lt;/P&gt;&lt;P&gt;Check this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sub ChangeBtnColor set vStatus = ActiveDocument.GetVariable("vButtonClicked") s = vStatus.GetContent.String set btn = ActiveDocument.GetSheetObject("BU01") set prop = btn.GetProperties if s = "1" then prop.BkgColor.PrimaryCol.Col = RGB(255,0,0) prop.TextColor.PrimaryCol.Col = RGB(255,255,255) btn.SetProperties prop vStatus.SetContent "0", true else prop.BkgColor.PrimaryCol.Col = RGB(0,0,255) prop.TextColor.PrimaryCol.Col = RGB(0,0,0) btn.SetProperties prop vStatus.SetContent "1", true end if End Sub&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I use a variable to check if the button as been clicked. You can skip that part.&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Nov 2010 13:57:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Button/m-p/184777#M501427</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-11-12T13:57:12Z</dc:date>
    </item>
    <item>
      <title>Color Button</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Button/m-p/184778#M501428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Miguel, your help was very useful, it work perfect..!!! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; Thank you very much &lt;IMG alt="Wink" src="http://community.qlik.com/emoticons/emotion-5.gif" /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Nov 2010 14:30:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Button/m-p/184778#M501428</guid>
      <dc:creator />
      <dc:date>2010-11-12T14:30:04Z</dc:date>
    </item>
    <item>
      <title>Color Button</title>
      <link>https://community.qlik.com/t5/QlikView/Color-Button/m-p/184779#M501429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;Is this for one button?&lt;/P&gt;&lt;P&gt;How can i make it to detect multiple buttons?&lt;/P&gt;&lt;P&gt;I'm trying to avoid repeating the script for different buttons action.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 03:21:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-Button/m-p/184779#M501429</guid>
      <dc:creator />
      <dc:date>2011-02-23T03:21:01Z</dc:date>
    </item>
  </channel>
</rss>

