<?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: Clear Color on Click clear button! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Clear-Color-on-Click-clear-button/m-p/408314#M151868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to change the background color of the button if is selected, and restore the default color when i click on clear on top.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="34372" class="jive-image" alt="color.PNG" src="https://community.qlik.com/legacyfs/online/34372_color.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this action (I select two fields with macro and I change the&amp;nbsp; button color in green..see the image)...if I click on clear button i want to restore the background color "white" for the button...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Mar 2013 12:26:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-03-05T12:26:14Z</dc:date>
    <item>
      <title>Clear Color on Click clear button!</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Color-on-Click-clear-button/m-p/408312#M151866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to change color when I click on my button ( my button select many records with a macro) , when I clik on clear button i need to restore default color...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm able to change color on click but I can not restore default color when I click clear button on top of the navgation bar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone can help me???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 10:44:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Color-on-Click-clear-button/m-p/408312#M151866</guid>
      <dc:creator />
      <dc:date>2013-03-05T10:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Clear Color on Click clear button!</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Color-on-Click-clear-button/m-p/408313#M151867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what color u want to change. Can u explain your requirement with example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 11:49:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Color-on-Click-clear-button/m-p/408313#M151867</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2013-03-05T11:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Clear Color on Click clear button!</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Color-on-Click-clear-button/m-p/408314#M151868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to change the background color of the button if is selected, and restore the default color when i click on clear on top.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="34372" class="jive-image" alt="color.PNG" src="https://community.qlik.com/legacyfs/online/34372_color.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this action (I select two fields with macro and I change the&amp;nbsp; button color in green..see the image)...if I click on clear button i want to restore the background color "white" for the button...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 12:26:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Color-on-Click-clear-button/m-p/408314#M151868</guid>
      <dc:creator />
      <dc:date>2013-03-05T12:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Clear Color on Click clear button!</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Color-on-Click-clear-button/m-p/408315#M151869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try using GetFieldSelections() or GetSelectedCount() in the background color of the button. Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(GetFieldSelections(Field) = 'Type C', Green(), ARGB(50,192,192,192))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 16:57:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Color-on-Click-clear-button/m-p/408315#M151869</guid>
      <dc:creator>mikecrengland</dc:creator>
      <dc:date>2013-03-05T16:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Clear Color on Click clear button!</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Color-on-Click-clear-button/m-p/408316#M151870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's work...but if i have two button that return the same selection all two button become green! Can I escape of this situation???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Button A: return all product sum(price)=$100&lt;/P&gt;&lt;P&gt;Button B: return all product sum(price)=$50&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the result of the sum() is equal and I press button B also button A become green..can escape???&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, 06 Mar 2013 09:06:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Color-on-Click-clear-button/m-p/408316#M151870</guid>
      <dc:creator />
      <dc:date>2013-03-06T09:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Clear Color on Click clear button!</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Color-on-Click-clear-button/m-p/408317#M151871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jinmat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One way you can use this functionality by using variable and Clear All button instead of Clear from the tool bar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached sample app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is possible for you to share the sample app then i can try on your app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 09:37:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Color-on-Click-clear-button/m-p/408317#M151871</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2013-03-06T09:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Clear Color on Click clear button!</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Color-on-Click-clear-button/m-p/408318#M151872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solved with two variables and when i clik on button A then before i set variable b=0...and vice versa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;var&lt;/SPAN&gt;&lt;STRONG style="color: #737373; font-family: Arial;"&gt;A=sum()&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;var&lt;STRONG&gt;B=sum()&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #737373; font-family: Arial;"&gt;On Button A&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;var&lt;/SPAN&gt;&lt;STRONG style="color: #737373; font-family: Arial;"&gt;B=0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;If(GetFieldSelections(Field) = 'var&lt;STRONG&gt;A&lt;/STRONG&gt;', Green(), ARGB(50,192,192,192))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;On Button B&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;var&lt;/SPAN&gt;&lt;STRONG style="color: #737373; font-family: Arial;"&gt;A=0&lt;/STRONG&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;If(GetFieldSelections(Field) = 'var&lt;STRONG&gt;B&lt;/STRONG&gt;', Green(), ARGB(50,192,192,192))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;Thanks for help...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 10:33:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Color-on-Click-clear-button/m-p/408318#M151872</guid>
      <dc:creator />
      <dc:date>2013-03-06T10:33:37Z</dc:date>
    </item>
  </channel>
</rss>

