<?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[Momentary State for LAF Panel Button]]></title><description><![CDATA[<p dir="auto">hey all, i have a button thats painted on to a panel via LAF. trying to enable a momentary state for this button so it only clicks once. is there a way to set this property? this is what im trying but its not correct:</p>
<pre><code>Content.setPropertiesFromJSON("ScriptPanel5", {
    "width": 27,
    "height": 29,
    "allowCallbacks": "Clicks Only",
    "enableMidiLearn": true,
    "saveInPreset": true,
    "isMomentary": true
});
</code></pre>
]]></description><link>https://forum.hise.audio/topic/7759/momentary-state-for-laf-panel-button</link><generator>RSS for Node</generator><lastBuildDate>Sun, 15 Nov 2026 00:02:19 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/7759.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 24 Jun 2023 00:20:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Momentary State for LAF Panel Button on Sat, 24 Jun 2023 00:44:07 GMT]]></title><description><![CDATA[<p dir="auto">@d-healey just what i needed thanks David :)</p>
]]></description><link>https://forum.hise.audio/post/66126</link><guid isPermaLink="true">https://forum.hise.audio/post/66126</guid><dc:creator><![CDATA[Adam_G]]></dc:creator><pubDate>Sat, 24 Jun 2023 00:44:07 GMT</pubDate></item><item><title><![CDATA[Reply to Momentary State for LAF Panel Button on Sat, 24 Jun 2023 00:43:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/726">@Adam_G</a> Yes, that's exactly what LAF is for</p>
<p dir="auto"><a href="https://youtu.be/badkm6QVNIA" rel="nofollow ugc">https://youtu.be/badkm6QVNIA</a></p>
]]></description><link>https://forum.hise.audio/post/66125</link><guid isPermaLink="true">https://forum.hise.audio/post/66125</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Sat, 24 Jun 2023 00:43:24 GMT</pubDate></item><item><title><![CDATA[Reply to Momentary State for LAF Panel Button on Sat, 24 Jun 2023 00:42:26 GMT]]></title><description><![CDATA[<p dir="auto">@d-healey im sure youre right. unfortunately, and to my families disappointment, i suck at math lol. alot of the custom LAF functions elude me. can i still use the svg data in the LAF button?</p>
]]></description><link>https://forum.hise.audio/post/66124</link><guid isPermaLink="true">https://forum.hise.audio/post/66124</guid><dc:creator><![CDATA[Adam_G]]></dc:creator><pubDate>Sat, 24 Jun 2023 00:42:26 GMT</pubDate></item><item><title><![CDATA[Reply to Momentary State for LAF Panel Button on Sat, 24 Jun 2023 00:30:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/726">@Adam_G</a> A panel is just a panel, it doesn't have button properties. You can make it into a momentary button if you want, but you have to handle it yourself in the mouse callback.</p>
<p dir="auto">I think what you should be doing though is using a button with LAF.</p>
]]></description><link>https://forum.hise.audio/post/66123</link><guid isPermaLink="true">https://forum.hise.audio/post/66123</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Sat, 24 Jun 2023 00:30:33 GMT</pubDate></item><item><title><![CDATA[Reply to Momentary State for LAF Panel Button on Sat, 24 Jun 2023 00:28:46 GMT]]></title><description><![CDATA[<p dir="auto">@d-healey yes sorry it is a paint routine. im just trying to use vector images as the buttons. so does that mean im not able to set these as momentary?</p>
]]></description><link>https://forum.hise.audio/post/66122</link><guid isPermaLink="true">https://forum.hise.audio/post/66122</guid><dc:creator><![CDATA[Adam_G]]></dc:creator><pubDate>Sat, 24 Jun 2023 00:28:46 GMT</pubDate></item><item><title><![CDATA[Reply to Momentary State for LAF Panel Button on Sat, 24 Jun 2023 00:25:59 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">i have a button thats painted on to a panel via LAF</p>
</blockquote>
<p dir="auto">Panels don't have LAF so I assume you mean a paint routine? In which case, why aren't you using LAF with a button?</p>
]]></description><link>https://forum.hise.audio/post/66121</link><guid isPermaLink="true">https://forum.hise.audio/post/66121</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Sat, 24 Jun 2023 00:25:59 GMT</pubDate></item></channel></rss>