<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[ANSWERED] Control panel buttons color change programmatically?]]></title><description><![CDATA[<p>hi,</p>
<p>Is there any way to programmatically change the color of a control button based on its toggle status? Is there a way to programmatically switch out background images assigned to control buttons or any other element of the control panel?</p>
<p>Thanks in advance for your advice.</p>
<p>Best wishes</p>
<p>Russell</p>]]></description><link>https://community.troikatronix.com/topic/8779/answered-control-panel-buttons-color-change-programmatically</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 13:01:34 GMT</lastBuildDate><atom:link href="https://community.troikatronix.com/topic/8779.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 28 Mar 2024 11:43:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [ANSWERED] Control panel buttons color change programmatically? on Thu, 06 Mar 2025 18:36:27 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/205">@bonemap</a> <a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/984">@jandraka</a> </p>
<p>Performing a little bit of thread necromancy since I ran across this and wanted anyone who ran across it in the future to know that, as of Isadora 4, the Button Control has Control Properties for the color of the button in its on and off states:</p>
<p><img src="/assets/uploads/files/1741286023475-screen-shot-2025-03-06-at-7.32.05-pm.png" style="cursor:pointer" /></p><p>The method of using a picture is still totally viable, and can be nicer if you want to include a fancier-looking button designed in Photoshop. Also, it's worth noting that you can use images that have alpha and the alpha will be transparent on the button in the Control Panel and you can make some pretty neat buttons that way.</p>]]></description><link>https://community.troikatronix.com/post/55962</link><guid isPermaLink="true">https://community.troikatronix.com/post/55962</guid><dc:creator><![CDATA[Woland]]></dc:creator><pubDate>Thu, 06 Mar 2025 18:36:27 GMT</pubDate></item><item><title><![CDATA[Reply to [ANSWERED] Control panel buttons color change programmatically? on Fri, 29 Mar 2024 04:21:56 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/984">@jandraka</a></p><p>Perfect! Thanks for the example!</p><p>Best Wishes, </p><p>Russell</p>]]></description><link>https://community.troikatronix.com/post/53785</link><guid isPermaLink="true">https://community.troikatronix.com/post/53785</guid><dc:creator><![CDATA[bonemap]]></dc:creator><pubDate>Fri, 29 Mar 2024 04:21:56 GMT</pubDate></item><item><title><![CDATA[Reply to [ANSWERED] Control panel buttons color change programmatically? on Thu, 28 Mar 2024 12:08:28 GMT]]></title><description><![CDATA[<p>Hi,<br /></p><p>If you create an image whose size is twice as high as it is wide, with different content on one half and the other, when you create a toogle button you will have different backgrounds.<br />I hope that helps</p>
<p>Best</p><p> Javi</p><p></p><p><a href="/assets/uploads/files/1711627704366-background-button.izz">background-button.izz</a></p>]]></description><link>https://community.troikatronix.com/post/53777</link><guid isPermaLink="true">https://community.troikatronix.com/post/53777</guid><dc:creator><![CDATA[jandraka]]></dc:creator><pubDate>Thu, 28 Mar 2024 12:08:28 GMT</pubDate></item></channel></rss>