<?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 How do i get new button by pressing Button in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-i-get-new-button-by-pressing-Button/m-p/161393#M35299</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;take two buttons button1 and button2. Take a variable vButton from&lt;/P&gt;&lt;P&gt;settings-&amp;gt; variable overview&lt;/P&gt;&lt;P&gt;and put 0 into the variable.&lt;/P&gt;&lt;P&gt;now goto properties of Button1 and add an action: set variable&lt;/P&gt;&lt;P&gt;give the variable name vButton in the variablename text box and write the below condicion in the value text box.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(vButton=0,1,0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;now goto properties of Button2 and goto layout tab and select the condicional radio button and writethe below expression into the beside textbox.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=vButton&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;i think it works perfectly, if u do all the above things..&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;A'run'&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Mar 2011 11:34:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-03-15T11:34:29Z</dc:date>
    <item>
      <title>How do i get new button by pressing Button</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-get-new-button-by-pressing-Button/m-p/161392#M35298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i click the Button it should bring the new button in the Same Sheet, Again if i click the Button then the new button should be hide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Antony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 11:24:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-get-new-button-by-pressing-Button/m-p/161392#M35298</guid>
      <dc:creator />
      <dc:date>2011-03-15T11:24:48Z</dc:date>
    </item>
    <item>
      <title>How do i get new button by pressing Button</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-get-new-button-by-pressing-Button/m-p/161393#M35299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;take two buttons button1 and button2. Take a variable vButton from&lt;/P&gt;&lt;P&gt;settings-&amp;gt; variable overview&lt;/P&gt;&lt;P&gt;and put 0 into the variable.&lt;/P&gt;&lt;P&gt;now goto properties of Button1 and add an action: set variable&lt;/P&gt;&lt;P&gt;give the variable name vButton in the variablename text box and write the below condicion in the value text box.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(vButton=0,1,0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;now goto properties of Button2 and goto layout tab and select the condicional radio button and writethe below expression into the beside textbox.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=vButton&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;i think it works perfectly, if u do all the above things..&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;A'run'&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 11:34:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-get-new-button-by-pressing-Button/m-p/161393#M35299</guid>
      <dc:creator />
      <dc:date>2011-03-15T11:34:29Z</dc:date>
    </item>
    <item>
      <title>How do i get new button by pressing Button</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-get-new-button-by-pressing-Button/m-p/161394#M35300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Create a variable (Ctrl+Alt+V), such as vShowButton, with default value of 1.&lt;/P&gt;&lt;P&gt;2. Create one button where the conditional show (Layout tab) is vShowButton =1 and attach all your actions, plus one last one that is associated to a variable setting, i.e. Set Variable, Variable name is vShowButton and Value = 2.&lt;/P&gt;&lt;P&gt;3. Create another button where the conditional show (Layout tab) is vShowButton =2 and attach all your actions, plus one last one that is associated to a variable setting, i.e. Set Variable, Variable name is vShowButton and Value = 1.&lt;/P&gt;&lt;P&gt;Should work. See attached QVW.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 11:38:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-get-new-button-by-pressing-Button/m-p/161394#M35300</guid>
      <dc:creator />
      <dc:date>2011-03-15T11:38:18Z</dc:date>
    </item>
    <item>
      <title>How do i get new button by pressing Button</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-get-new-button-by-pressing-Button/m-p/161395#M35301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Antony,&lt;/P&gt;&lt;P&gt;Create one variable to control visibility of second button, say vVisible, and create another variable that stores the text of the button say vButtonText. You can do this in the Settings menu, Variable Overview.&lt;/P&gt;&lt;P&gt;Now create a new sheet object, button. Set its text to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=vButtonText&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;That now is empty, so it will show "-". In the button properties, Actions, create a new action, External, Set Variable, Variable is vVisible and value is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=If(vVisible = 1, 0, 1)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Add a new action, Set Variable, Variable vButtonText, and value is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=If(vButtonVisible = 1, 'Show Button', 'Hide Button')&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Now create the second button, right click on it, go to Properties, Layout, Show, Conditional, and write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;vVisible = 1&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;And you're done. Check that you click on the first button, and it shows the text "Show Button" or "Hide Button" according to the visibility of the new button.&lt;/P&gt;&lt;P&gt;No need for macros in this action, cleaner.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 11:46:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-get-new-button-by-pressing-Button/m-p/161395#M35301</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-03-15T11:46:11Z</dc:date>
    </item>
    <item>
      <title>How do i get new button by pressing Button</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-get-new-button-by-pressing-Button/m-p/161396#M35302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Antony,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 12:19:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-get-new-button-by-pressing-Button/m-p/161396#M35302</guid>
      <dc:creator />
      <dc:date>2011-03-15T12:19:49Z</dc:date>
    </item>
    <item>
      <title>How do i get new button by pressing Button</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-get-new-button-by-pressing-Button/m-p/161397#M35303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks i got the answer. Instead of if condition , i used "Not($(vButton))" in 1st Button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Napolean.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 05:28:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-get-new-button-by-pressing-Button/m-p/161397#M35303</guid>
      <dc:creator />
      <dc:date>2011-03-16T05:28:59Z</dc:date>
    </item>
    <item>
      <title>How do i get new button by pressing Button</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-get-new-button-by-pressing-Button/m-p/161398#M35304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks , its working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 05:45:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-get-new-button-by-pressing-Button/m-p/161398#M35304</guid>
      <dc:creator />
      <dc:date>2011-03-16T05:45:05Z</dc:date>
    </item>
  </channel>
</rss>

