<?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: Change Button's colors when Press in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Change-Button-s-colors-when-Press/m-p/1944759#M77858</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/162848"&gt;@Dante_83&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You need to add action in the button property as a set variable value and set it to the one variable.&lt;/P&gt;
&lt;P&gt;like below one for Yes button and same for No button&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abhijitnalekar_0-1655403485978.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/81972i704F54E46F992774/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abhijitnalekar_0-1655403485978.png" alt="abhijitnalekar_0-1655403485978.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abhijitnalekar_1-1655403520094.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/81973iDD99F17E227227FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abhijitnalekar_1-1655403520094.png" alt="abhijitnalekar_1-1655403520094.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;then write a below expression in background color expression as below&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abhijitnalekar_2-1655403612859.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/81974iA22CFF421F9428F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abhijitnalekar_2-1655403612859.png" alt="abhijitnalekar_2-1655403612859.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;for NO button:&amp;nbsp;=if(name='NO',Red(),Brown())&lt;/P&gt;
&lt;P&gt;for YES button:&amp;nbsp;=if(name='YES',green(),Brown())&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jun 2022 18:21:06 GMT</pubDate>
    <dc:creator>abhijitnalekar</dc:creator>
    <dc:date>2022-06-16T18:21:06Z</dc:date>
    <item>
      <title>Change Button's colors when Press</title>
      <link>https://community.qlik.com/t5/App-Development/Change-Button-s-colors-when-Press/m-p/1944233#M77808</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I'm trying to create buttons that change colors when pressed. For example, I want to create a YES and NO button. When the Yes button is pressed, it changes color to green, and the No button changes to Grey. Vise versa, When the No button is pressed, it changes color to Brown. Does anybody know if Qlik Sense Desktop has that capability? Thank you in advance for the help.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 19:52:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-Button-s-colors-when-Press/m-p/1944233#M77808</guid>
      <dc:creator>Dante_83</dc:creator>
      <dc:date>2022-06-15T19:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Change Button's colors when Press</title>
      <link>https://community.qlik.com/t5/App-Development/Change-Button-s-colors-when-Press/m-p/1944759#M77858</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/162848"&gt;@Dante_83&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You need to add action in the button property as a set variable value and set it to the one variable.&lt;/P&gt;
&lt;P&gt;like below one for Yes button and same for No button&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abhijitnalekar_0-1655403485978.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/81972i704F54E46F992774/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abhijitnalekar_0-1655403485978.png" alt="abhijitnalekar_0-1655403485978.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abhijitnalekar_1-1655403520094.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/81973iDD99F17E227227FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abhijitnalekar_1-1655403520094.png" alt="abhijitnalekar_1-1655403520094.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;then write a below expression in background color expression as below&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abhijitnalekar_2-1655403612859.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/81974iA22CFF421F9428F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abhijitnalekar_2-1655403612859.png" alt="abhijitnalekar_2-1655403612859.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;for NO button:&amp;nbsp;=if(name='NO',Red(),Brown())&lt;/P&gt;
&lt;P&gt;for YES button:&amp;nbsp;=if(name='YES',green(),Brown())&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 18:21:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-Button-s-colors-when-Press/m-p/1944759#M77858</guid>
      <dc:creator>abhijitnalekar</dc:creator>
      <dc:date>2022-06-16T18:21:06Z</dc:date>
    </item>
  </channel>
</rss>

