<?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: Buttons pressed &amp;amp; unpressed in Vuforia Studio</title>
    <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Buttons-pressed-amp-unpressed/m-p/559833#M3686</link>
    <description>&lt;P&gt;Usually you should use toggle buttons for that purpose. You could do a bindig that if one putton is pressed, the others get unpressed. Therefor you have to click and hold the arrow of&amp;nbsp;“pressed” and drag it on one of the other buttons. Than select not pressed. Then do this with all other buttons. Unfortunately it didn’t work at my project. Maybe some bug?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.ptc.com/t5/user/viewprofilepage/user-id/14324" target="_blank"&gt;AllanThompson&lt;/A&gt; had the same issue. Seems like you can solve it with code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="Toggling buttons" href="https://community.ptc.com/t5/Studio/Toggling-a-toggle-button-with-another-toggle-button/m-p/529986" target="_self"&gt;https://community.ptc.com/t5/Studio/Toggling-a-toggle-button-with-another-toggle-button/m-p/529986&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A title="Toggling buttons" href="https://community.ptc.com/t5/Studio/Toggling-a-toggle-button-with-another-toggle-button/m-p/529986" target="_self"&gt;&lt;SPAN style="font-family: inherit;"&gt;ther-toggle-button/m-p/529986&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Jul 2018 07:54:21 GMT</pubDate>
    <dc:creator>whity</dc:creator>
    <dc:date>2018-07-10T07:54:21Z</dc:date>
    <item>
      <title>Buttons pressed &amp; unpressed</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Buttons-pressed-amp-unpressed/m-p/559590#M3675</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am facing this case. I have 3 buttons.&lt;/P&gt;
&lt;P&gt;If i 'pressed' button1, i want button2 and button3 to be 'unpressed'.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If i 'pressed' button2, i want button1 and button3 to be 'unpressed'.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If i 'pressed' button3, i want button2 and button1 to be 'unpressed'.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;How do i bind them?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Or how to create code for them?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 06:21:01 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Buttons-pressed-amp-unpressed/m-p/559590#M3675</guid>
      <dc:creator>tllam</dc:creator>
      <dc:date>2018-07-09T06:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Buttons pressed &amp; unpressed</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Buttons-pressed-amp-unpressed/m-p/559611#M3676</link>
      <description>&lt;P&gt;Use RadioButton instead &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 07:52:19 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Buttons-pressed-amp-unpressed/m-p/559611#M3676</guid>
      <dc:creator>CarlesColl</dc:creator>
      <dc:date>2018-07-09T07:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Buttons pressed &amp; unpressed</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Buttons-pressed-amp-unpressed/m-p/559794#M3677</link>
      <description>&lt;P&gt;Sorry. I should have mention i am working on Thingworx Studio.&lt;/P&gt;
&lt;P&gt;Any idea how i can resolve this issue?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 22:59:44 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Buttons-pressed-amp-unpressed/m-p/559794#M3677</guid>
      <dc:creator>tllam</dc:creator>
      <dc:date>2018-07-09T22:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Buttons pressed &amp; unpressed</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Buttons-pressed-amp-unpressed/m-p/559811#M3680</link>
      <description>&lt;P&gt;Are you working on a HoloLens-Project or is it for mobile devices?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 05:31:24 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Buttons-pressed-amp-unpressed/m-p/559811#M3680</guid>
      <dc:creator>whity</dc:creator>
      <dc:date>2018-07-10T05:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Buttons pressed &amp; unpressed</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Buttons-pressed-amp-unpressed/m-p/559812#M3681</link>
      <description>&lt;P&gt;For mobile devices. I am using Ipad.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 05:36:10 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Buttons-pressed-amp-unpressed/m-p/559812#M3681</guid>
      <dc:creator>tllam</dc:creator>
      <dc:date>2018-07-10T05:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Buttons pressed &amp; unpressed</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Buttons-pressed-amp-unpressed/m-p/559814#M3683</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;in the Project panel to the left, you can find “Application” under “Styles”. If you click that you have a coding area just like the home.js. Except, that you use&amp;nbsp;CSS here. Your code could look like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;.NormalButton {&lt;/P&gt;
&lt;P&gt;font-family: Arial;&lt;/P&gt;
&lt;P&gt;font-weight: bold;&lt;/P&gt;
&lt;P&gt;text-align: center;&lt;/P&gt;
&lt;P&gt;width: 200px;&lt;/P&gt;
&lt;P&gt;background-color: white;&lt;/P&gt;
&lt;P&gt;border-radius: 10px;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;.NormalButton:hover {&lt;/P&gt;
&lt;P&gt;background-color: #468499;&lt;/P&gt;
&lt;P&gt;color:white;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can assign that code to a button by writing “NormalButton” (without quotation marks) &amp;nbsp;in the class field of your button.&lt;/P&gt;
&lt;P&gt;If you want them to stay pressed, you should use radio buttons, like CarlesColl wrote.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 05:52:27 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Buttons-pressed-amp-unpressed/m-p/559814#M3683</guid>
      <dc:creator>whity</dc:creator>
      <dc:date>2018-07-10T05:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Buttons pressed &amp; unpressed</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Buttons-pressed-amp-unpressed/m-p/559821#M3685</link>
      <description>&lt;P&gt;I am using Thingworx Studio. And Thingworx Studio dont have radio button.&lt;/P&gt;
&lt;P&gt;By the way, the above is CSS coding for the appearance of the button when 'pressed' and 'unpressed'.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 06:56:49 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Buttons-pressed-amp-unpressed/m-p/559821#M3685</guid>
      <dc:creator>tllam</dc:creator>
      <dc:date>2018-07-10T06:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Buttons pressed &amp; unpressed</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Buttons-pressed-amp-unpressed/m-p/559833#M3686</link>
      <description>&lt;P&gt;Usually you should use toggle buttons for that purpose. You could do a bindig that if one putton is pressed, the others get unpressed. Therefor you have to click and hold the arrow of&amp;nbsp;“pressed” and drag it on one of the other buttons. Than select not pressed. Then do this with all other buttons. Unfortunately it didn’t work at my project. Maybe some bug?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.ptc.com/t5/user/viewprofilepage/user-id/14324" target="_blank"&gt;AllanThompson&lt;/A&gt; had the same issue. Seems like you can solve it with code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="Toggling buttons" href="https://community.ptc.com/t5/Studio/Toggling-a-toggle-button-with-another-toggle-button/m-p/529986" target="_self"&gt;https://community.ptc.com/t5/Studio/Toggling-a-toggle-button-with-another-toggle-button/m-p/529986&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A title="Toggling buttons" href="https://community.ptc.com/t5/Studio/Toggling-a-toggle-button-with-another-toggle-button/m-p/529986" target="_self"&gt;&lt;SPAN style="font-family: inherit;"&gt;ther-toggle-button/m-p/529986&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 07:54:21 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Buttons-pressed-amp-unpressed/m-p/559833#M3686</guid>
      <dc:creator>whity</dc:creator>
      <dc:date>2018-07-10T07:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Buttons pressed &amp; unpressed</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Buttons-pressed-amp-unpressed/m-p/560076#M3700</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;IMG src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/8627i04D4B8E580C92348/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="Capture.JPG" title="Capture.JPG" /&gt;&lt;/P&gt;
&lt;P&gt;i maked a simulation of Radio button width CheckBox .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make 3 widget CheckBox&amp;nbsp; &amp;nbsp;and change the id width&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;c1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; event click&amp;nbsp; &amp;nbsp; call&amp;nbsp; &amp;nbsp; &amp;nbsp;sw();&lt;/P&gt;
&lt;P&gt;c2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;event click&amp;nbsp; &amp;nbsp; call&amp;nbsp; &amp;nbsp; &amp;nbsp;sw();&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;c3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;event click&amp;nbsp; &amp;nbsp; call&amp;nbsp; &amp;nbsp; &amp;nbsp;sw();&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;write thiks code :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;$scope.sw=function() {&lt;BR /&gt; &lt;BR /&gt; var sw=this["me"].widgetName;&lt;BR /&gt; &lt;BR /&gt; $scope.view.wdg['c1'].value=false;&lt;BR /&gt; $scope.view.wdg['c2'].value=false;&lt;BR /&gt; $scope.view.wdg['c3'].value=false;&lt;BR /&gt; // ----------------- widget to mark select ---------------------&lt;BR /&gt; &lt;BR /&gt; $scope.view.wdg[sw].value=true;&lt;BR /&gt; &lt;BR /&gt; };&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;bind this function to 3 checkbox into event click.&lt;/P&gt;
&lt;P&gt;set to active one of the widget for start position.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;when you press on one of the checkboxes he changes the status to the others,just like a radio button widget.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope my help has been useful.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Giuseppe&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2018 09:35:25 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Buttons-pressed-amp-unpressed/m-p/560076#M3700</guid>
      <dc:creator>Giuseppe_Fiore</dc:creator>
      <dc:date>2018-07-11T09:35:25Z</dc:date>
    </item>
  </channel>
</rss>

