<?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[How to show&#x2F;hide a table when a certain waveform type is selected?]]></title><description><![CDATA[<p dir="auto">I'm trying to have a table on top of a floating tile so that the custom waveform type can be used as a draggable table when the custom waveform type is selected.</p>
<p dir="auto">If possible, I'd like the table to become invisible when any other waveform other than custom is selected.</p>
<p dir="auto">This is how I imagined it working, but it's not right.</p>
<p dir="auto">Any ideas what I've messed up in the code?</p>
<pre><code>const var FloatingTile1 = Content.getComponent("FloatingTile1");
const var Table1 = Content.getComponent("Table1");
const var ComboBox1 = Content.getComponent("ComboBox1");


inline function onComboBox1Control(component, value)
{
    if (value == custom)
    {
        Table1.showControl(true);
    }
    else
    {
        Table1.showControl(false);
    }
};

Content.getComponent("ComboBox1").setControlCallback(onComboBox1Control);
</code></pre>
<p dir="auto">There's an example snippet here to show you what I mean...</p>
<pre><code>HiseSnippet 1821.3oc6Y07babaEGKofqEUjiSqamja6noGjl5ngT9iXGOdxZQI5noRlzlzIcldvEZWPRTsKvlcwJKkDOsG6s9mT60N8Rmo25o1+C58dH8Afk6hUhVhgQoU1S1CZDde.768vCu2Cf8RD9zzTQBxYwAGGSQNuCt+wb431iILNZmsPN2GOflJc+TV.0UR1Oj59xwTtaJMj5KY7QtoiIwzTWgbLMwUNlvc8yRkhHzlGGSRSoAHGm5OVMcNKt.R+8u+jMIgDtOsjDB8YBlOcWVDSVRsm2ujEF1gDPGvhrj91d63K3sEghL.50wMQwD+CHinOgnDqFF4bksCXRQReIQRSQNKroH339iEujaj+yXoLvXTCZg5CSjgbGQXfBwp+G0dLKLn2DWTJB4f6U5vpabX2.uGKfUPuzwccMC2RMr8GN0NK30ZNgmiE7Vv.u2C22OgEKK4nv1R3c3RZxPBrEXCKirnZGVC2V.RvkqGQNf1IAFTnwp2sYya5dmlMW6AK2X4FvF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QvBYOgCnPtO3lT91D6GIfaIoqtYeYla3sqPDuMWkhOvV9diIoptRf15r25Mo0JJ4MmMDzWRiMk09036d60K3e+1vetU2KlwWfgo0lwvzehZu2sXWVEpdIOerAwUNbcouBhJem6aLU79.bdpTsW9MGbeM7SubA12sxiD83DQVbdHrh.Mk8kzDWM4VWDO+y1y7y+Xxd1YuJ4IIIILnwNUq3VK9epvQeJNOmyREbgFJOJRjwk1Y4y4tEUlwq.8bF8iSnjJIvUnuOEfZfdJSqrWUu5dEd1xLVsSSK4Om5k+n+O7xUW7GH9t2oc8YCtyVKhv8YXQwgzs4GRCgqBmmbbK5PRVnrfpMH2CBTL8TZGA8LpLgMZDMwF5S0ddjTR7Ovt4gmQCoPeBkj94d6BWLhjTsCyuUthVytq3r1tderAttpiutucbAo5uEcAoKdW26fMoGeCnIFnHlNg8kDndCCTWR+DD5xqZT9SKdaK2GS4zjSeglp0V+ayZs03Yt1ZWeI.gAIDdZrHk1xdlOAuMr4YhDlHt2+5ez1yPphTSdwEqo8pdSHtgMwdDdk0FFWYl1iYUL+e9IlVBLke6l5CFqx2U49UYgozOW81XsrUrj7F1jOYA64O8I9GpE+CI0eCJotJF7nKAkuelHS8aCrGAZVR8ZvOIKpOjkxmBPkyogptncpo572LtoZrBP8o7.8.0i+myrkZrSNyVSX9VyZDQ7SDuv27i9nR5bUMEv2x0+D4Kh2SM1s324AiatdSTDjr4E99pHvOD1CltNaLG5bq4PmaOG5bm4Pm6NG57QygN26L0Qkm+QYRQj4LFPn21lGnyo3sAcpi9uvklYuX
</code></pre>
]]></description><link>https://forum.hise.audio/topic/2042/how-to-show-hide-a-table-when-a-certain-waveform-type-is-selected</link><generator>RSS for Node</generator><lastBuildDate>Mon, 07 Sep 2026 15:04:04 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/2042.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 12 Nov 2019 15:46:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to show&#x2F;hide a table when a certain waveform type is selected? on Tue, 12 Nov 2019 16:50:25 GMT]]></title><description><![CDATA[<p dir="auto">@d-healey Looks like</p>
<pre><code>if (value == 6)
</code></pre>
<p dir="auto">was the answer! Thanks mate. All working now.</p>
<p dir="auto">I even went one step further and now have the floating tile made invisible when 'custom' is selected. I'm proud of that small win there :)</p>
]]></description><link>https://forum.hise.audio/post/15862</link><guid isPermaLink="true">https://forum.hise.audio/post/15862</guid><dc:creator><![CDATA[SteveRiggs]]></dc:creator><pubDate>Tue, 12 Nov 2019 16:50:25 GMT</pubDate></item><item><title><![CDATA[Reply to How to show&#x2F;hide a table when a certain waveform type is selected? on Tue, 12 Nov 2019 16:05:28 GMT]]></title><description><![CDATA[<p dir="auto">@d-healey said in <a href="/post/15859">How to show/hide a table when a certain waveform type is selected?</a>:</p>
<blockquote>
<p dir="auto">And you can't have parameter ID and a control callback.</p>
</blockquote>
<p dir="auto">Damn, 3 times now I've forgotten that <img src="https://forum.hise.audio/assets/plugins/nodebb-plugin-emoji/emoji/android/1f923.png?v=fba14f4754a" class="not-responsive emoji emoji-android emoji--rolling_on_the_floor_laughing" style="height:23px;width:auto;vertical-align:middle" title=":rolling_on_the_floor_laughing:" alt="🤣" /></p>
<p dir="auto">Ok, I'll fix that bit first and then have a look...</p>
]]></description><link>https://forum.hise.audio/post/15860</link><guid isPermaLink="true">https://forum.hise.audio/post/15860</guid><dc:creator><![CDATA[SteveRiggs]]></dc:creator><pubDate>Tue, 12 Nov 2019 16:05:28 GMT</pubDate></item><item><title><![CDATA[Reply to How to show&#x2F;hide a table when a certain waveform type is selected? on Tue, 12 Nov 2019 16:00:01 GMT]]></title><description><![CDATA[<p dir="auto">Try <code>Console.print(value);</code> and all will be revealed. Then go look at the docs for the combobox. And you can't have parameter ID and a control callback. ;)</p>
]]></description><link>https://forum.hise.audio/post/15859</link><guid isPermaLink="true">https://forum.hise.audio/post/15859</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Tue, 12 Nov 2019 16:00:01 GMT</pubDate></item></channel></rss>