<?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 Creating dynamic buttons with colours in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-dynamic-buttons-with-colours/m-p/362749#M134848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, i thought i'd share the following description of how to make dynamic buttons - In this instance there will be two buttons which will toggle color depending on which one you click. Here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;1. &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Create a variable called &lt;/SPAN&gt;&lt;STRONG style="color: red; font-family: 'Courier New';"&gt;vbutton1 &lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;and set its value to 0&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;2. &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Create a 2&lt;SUP&gt;nd&lt;/SUP&gt;variable called &lt;/SPAN&gt;&lt;STRONG style="color: #e36c0a; font-family: 'Courier New';"&gt;vButton2 &lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;and set its value to 0&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;3. &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Create &lt;/SPAN&gt;&lt;STRONG style="color: #7030a0; font-family: 'Courier New';"&gt;1&lt;SUP&gt;st&lt;/SUP&gt; button&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;4. &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;In General Tab, click the coloured shape&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;5. &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;In Base Color section, tick Calculated, then the three dots…&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;6. &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG style="color: red; font-family: 'Courier New';"&gt;vButton1&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;=1, &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;rgb&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(0,0,0), &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;rgb&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(255,255,255)) &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;7. &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;In Action Tab, Add following actions to set the Button1 properties:&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Type = External / Action =Set Variable&amp;nbsp; -OK&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Variable = &lt;/SPAN&gt;&lt;STRONG style="color: red; font-family: 'Courier New';"&gt;vButton1&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Value = 1&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 72pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 11pt;"&gt;Add another Action&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Type = External / Action =Set Variable&amp;nbsp; -OK&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Variable = &lt;/SPAN&gt;&lt;STRONG style="color: #e36c0a; font-family: 'Courier New';"&gt;vButton2&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Value = 0&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then redo steps 3 to 5 to create the &lt;/SPAN&gt;&lt;STRONG style="color: #7030a0; font-family: 'Courier New';"&gt;2nd Button&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;6'. &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG style="color: #e36c0a; font-family: 'Courier New';"&gt;vButton2&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;=1, &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;rgb&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(0,0,0), &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;rgb&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(255,255,255)) &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;7'. &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;In Action Tab, Add following actions to set the Button2 properties:&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Type = External / Action =Set Variable&amp;nbsp; -OK&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Variable = &lt;/SPAN&gt;&lt;STRONG style="color: #e36c0a; font-family: 'Courier New';"&gt;vButton2&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Value = 1&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-left: 72pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 11pt;"&gt;Add another Action&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Type = External / Action =Set Variable&amp;nbsp; -OK&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Variable = &lt;/SPAN&gt;&lt;STRONG style="color: red; font-family: 'Courier New';"&gt;vButton1&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Value = 0&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Done. Adjust and add a clear button to exercise, or select specific fields in your application. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;EM style="color: black; font-family: 'Courier New';"&gt;Hint: Use Select in Field as action type.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: 2.4pt; margin-bottom: 2.4pt;"&gt;&lt;EM style="color: black; font-family: 'Courier New';"&gt;Ifyou're really struggling to follow these steps, then let me know i can always upload the qvw.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 22 Apr 2012 09:34:10 GMT</pubDate>
    <dc:creator>buddhabang</dc:creator>
    <dc:date>2012-04-22T09:34:10Z</dc:date>
    <item>
      <title>Creating dynamic buttons with colours</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-dynamic-buttons-with-colours/m-p/362749#M134848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, i thought i'd share the following description of how to make dynamic buttons - In this instance there will be two buttons which will toggle color depending on which one you click. Here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;1. &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Create a variable called &lt;/SPAN&gt;&lt;STRONG style="color: red; font-family: 'Courier New';"&gt;vbutton1 &lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;and set its value to 0&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;2. &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Create a 2&lt;SUP&gt;nd&lt;/SUP&gt;variable called &lt;/SPAN&gt;&lt;STRONG style="color: #e36c0a; font-family: 'Courier New';"&gt;vButton2 &lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;and set its value to 0&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;3. &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Create &lt;/SPAN&gt;&lt;STRONG style="color: #7030a0; font-family: 'Courier New';"&gt;1&lt;SUP&gt;st&lt;/SUP&gt; button&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;4. &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;In General Tab, click the coloured shape&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;5. &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;In Base Color section, tick Calculated, then the three dots…&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;6. &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG style="color: red; font-family: 'Courier New';"&gt;vButton1&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;=1, &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;rgb&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(0,0,0), &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;rgb&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(255,255,255)) &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;7. &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;In Action Tab, Add following actions to set the Button1 properties:&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Type = External / Action =Set Variable&amp;nbsp; -OK&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Variable = &lt;/SPAN&gt;&lt;STRONG style="color: red; font-family: 'Courier New';"&gt;vButton1&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Value = 1&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 72pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 11pt;"&gt;Add another Action&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Type = External / Action =Set Variable&amp;nbsp; -OK&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Variable = &lt;/SPAN&gt;&lt;STRONG style="color: #e36c0a; font-family: 'Courier New';"&gt;vButton2&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Value = 0&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then redo steps 3 to 5 to create the &lt;/SPAN&gt;&lt;STRONG style="color: #7030a0; font-family: 'Courier New';"&gt;2nd Button&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;6'. &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG style="color: #e36c0a; font-family: 'Courier New';"&gt;vButton2&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;=1, &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;rgb&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(0,0,0), &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;rgb&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(255,255,255)) &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;7'. &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;In Action Tab, Add following actions to set the Button2 properties:&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Type = External / Action =Set Variable&amp;nbsp; -OK&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Variable = &lt;/SPAN&gt;&lt;STRONG style="color: #e36c0a; font-family: 'Courier New';"&gt;vButton2&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Value = 1&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-left: 72pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 11pt;"&gt;Add another Action&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Type = External / Action =Set Variable&amp;nbsp; -OK&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Variable = &lt;/SPAN&gt;&lt;STRONG style="color: red; font-family: 'Courier New';"&gt;vButton1&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Value = 0&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Done. Adjust and add a clear button to exercise, or select specific fields in your application. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;EM style="color: black; font-family: 'Courier New';"&gt;Hint: Use Select in Field as action type.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: 2.4pt; margin-bottom: 2.4pt;"&gt;&lt;EM style="color: black; font-family: 'Courier New';"&gt;Ifyou're really struggling to follow these steps, then let me know i can always upload the qvw.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Apr 2012 09:34:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-dynamic-buttons-with-colours/m-p/362749#M134848</guid>
      <dc:creator>buddhabang</dc:creator>
      <dc:date>2012-04-22T09:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Creating dynamic buttons with colours</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-dynamic-buttons-with-colours/m-p/362750#M134849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am doing a similar thing, but want to change the button label. I'm doing this with a Set Variable action and it works, but the problem is that the button keeps resizing to 39 width which is smaller than my text causing it to get squished up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to prevent the button from resizing?&amp;nbsp; If that's not possible, how about the ability to set the button size via variable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2012 16:18:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-dynamic-buttons-with-colours/m-p/362750#M134849</guid>
      <dc:creator />
      <dc:date>2012-07-25T16:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Creating dynamic buttons with colours</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-dynamic-buttons-with-colours/m-p/362751#M134850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Helo Rick, try unticking the&amp;nbsp; "Allow Move/Size" box from the Layout Tab of the button you're working on. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will ensure that button cannot be moved or resized. Hope this helps. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 15:54:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-dynamic-buttons-with-colours/m-p/362751#M134850</guid>
      <dc:creator>buddhabang</dc:creator>
      <dc:date>2012-07-26T15:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Creating dynamic buttons with colours</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-dynamic-buttons-with-colours/m-p/362752#M134851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That only prevents an end user from dragging the size to a different size. What I really need is to be able to specify the width of say 90 and make the button stay 90 even if the label is only "One". A label of "One" is automatically resized down to something like (not in front of QV at the moment) 30. I want all of the buttons to be the same size regardless of the text displayed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 17:26:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-dynamic-buttons-with-colours/m-p/362752#M134851</guid>
      <dc:creator />
      <dc:date>2012-07-26T17:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Creating dynamic buttons with colours</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-dynamic-buttons-with-colours/m-p/362753#M134852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/buddhabang" id="jive-634661595306853396494" style="background-color: #e0eaf3; font-size: 12px; color: #007fc0; font-weight: bold; font-family: Arial; text-align: center;"&gt;buddhabang&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;It can be simplified with single variable itself&lt;/P&gt;&lt;P&gt;On button1 click assign variable value as 1&lt;/P&gt;&lt;P&gt;On button click assign variable value as 2&lt;/P&gt;&lt;P&gt;then for changing colors&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;if&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #e36c0a; font-family: 'Courier New';"&gt;vButton&lt;/STRONG&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 9pt; color: black; font-family: 'Courier New';"&gt;=1, &lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;rgb&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(0,0,0), &lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;rgb&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(255,255,255))\\For button 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;if&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #e36c0a; font-family: 'Courier New';"&gt;vButton&lt;/STRONG&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 9pt; color: black; font-family: 'Courier New';"&gt;=2, &lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;rgb&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(0,0,0), &lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;rgb&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(255,255,255))\\For button 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 18:46:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-dynamic-buttons-with-colours/m-p/362753#M134852</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-07-26T18:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Creating dynamic buttons with colours</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-dynamic-buttons-with-colours/m-p/362754#M134853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Celambarasan, but wanted to make it clearer. But yeah it goes without saying. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Sep 2012 11:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-dynamic-buttons-with-colours/m-p/362754#M134853</guid>
      <dc:creator>buddhabang</dc:creator>
      <dc:date>2012-09-02T11:44:38Z</dc:date>
    </item>
  </channel>
</rss>

