<?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[M5 tough remove touch buttons]]></title><description><![CDATA[<p dir="auto">Hello</p>
<p dir="auto">I have tried everything when it comes to removing/hiding/deactivating a button on the touch screen on an M5 tough, searching Google in and out. When I use .fillScreen(), it fills the screen but I can still "click" the button when I touch the screen where it was and then it appears again.<br />
Hoping for an answer to this small question.</p>
<p dir="auto">Thanks a lot! :D</p>
]]></description><link>https://community.m5stack.com/topic/4398/m5-tough-remove-touch-buttons</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 22:12:22 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4398.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 28 Jun 2022 12:28:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5 tough remove touch buttons on Fri, 23 Sep 2022 06:29:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hansdia95" aria-label="Profile: hansdia95">@<bdi>hansdia95</bdi></a> I am running into problems with using button.hide() Can you please provide an example of your usecase? Perhaps I just have a syntax error. I can not find much informaiton on this other than the writeup on github (that provides little informaiotn on this)</p>
]]></description><link>https://community.m5stack.com/post/18698</link><guid isPermaLink="true">https://community.m5stack.com/post/18698</guid><dc:creator><![CDATA[CharlieTango]]></dc:creator><pubDate>Fri, 23 Sep 2022 06:29:03 GMT</pubDate></item><item><title><![CDATA[Reply to M5 tough remove touch buttons on Tue, 12 Jul 2022 20:39:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/skynorth" aria-label="Profile: skynorth">@<bdi>skynorth</bdi></a> Thanks A lot!!</p>
<p dir="auto">it was button.hide(), but I had to fill the screen after.</p>
<p dir="auto">Thanks!!! :)</p>
]]></description><link>https://community.m5stack.com/post/17978</link><guid isPermaLink="true">https://community.m5stack.com/post/17978</guid><dc:creator><![CDATA[HansDia95]]></dc:creator><pubDate>Tue, 12 Jul 2022 20:39:08 GMT</pubDate></item><item><title><![CDATA[Reply to M5 tough remove touch buttons on Tue, 12 Jul 2022 17:04:09 GMT]]></title><description><![CDATA[<p dir="auto">Look in</p>
<p dir="auto"><a href="https://github.com/m5stack/M5Tough/blob/master/src/utility/M5Button.h" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5Tough/blob/master/src/utility/M5Button.h</a></p>
<p dir="auto">It explains the touch button usage.<br />
-Brent</p>
]]></description><link>https://community.m5stack.com/post/17977</link><guid isPermaLink="true">https://community.m5stack.com/post/17977</guid><dc:creator><![CDATA[SkyNorth]]></dc:creator><pubDate>Tue, 12 Jul 2022 17:04:09 GMT</pubDate></item><item><title><![CDATA[Reply to M5 tough remove touch buttons on Mon, 11 Jul 2022 15:20:36 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/hansdia95" aria-label="Profile: HansDia95">@<bdi>HansDia95</bdi></a></p>
<p dir="auto">I assumed you are using UIFlow since you've posted under SOFTWARE / UIFlow ...</p>
<p dir="auto">Anyways, with Arduino there seems to be an issue with hiding (static) buttons. However when I use dynamic buttons it seems to work. Here is a function creating / showing or hiding / deleting a button.</p>
<pre><code>Button *b3 = nullptr;

void showHideButton3(bool show)
{
  if(show == true)
  {
    if(b3 != nullptr) return;

    Serial.println("*** show");
    b3 = new Button(220, 200, 80, 40, false, "C", off_clrs, on_clrs, MC_DATUM);
    b3-&gt;addHandler(eventDisplay, E_ALL);
  }
  else
  {
    if(b3 == nullptr) return;

    Serial.println("*** hide");
    b3-&gt;delHandlers();
    b3-&gt;hide(BLACK);
    delete(b3);
    b3 = nullptr;
  }
}
</code></pre>
<p dir="auto">BTW: I was using above in the context of the M5Tough <a href="https://github.com/m5stack/M5Tough/blob/master/examples/Touch/TouchButton/TouchButton.ino" target="_blank" rel="noopener noreferrer nofollow ugc">Touch example</a>.<br />
Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/17968</link><guid isPermaLink="true">https://community.m5stack.com/post/17968</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Mon, 11 Jul 2022 15:20:36 GMT</pubDate></item><item><title><![CDATA[Reply to M5 tough remove touch buttons on Mon, 11 Jul 2022 12:23:21 GMT]]></title><description><![CDATA[<p dir="auto">Hi again I'm using Arduino IDE btw :)</p>
<p dir="auto">Thanks again :)</p>
]]></description><link>https://community.m5stack.com/post/17966</link><guid isPermaLink="true">https://community.m5stack.com/post/17966</guid><dc:creator><![CDATA[HansDia95]]></dc:creator><pubDate>Mon, 11 Jul 2022 12:23:21 GMT</pubDate></item><item><title><![CDATA[Reply to M5 tough remove touch buttons on Tue, 28 Jun 2022 14:49:55 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/hansdia95" aria-label="Profile: HansDia95">@<bdi>HansDia95</bdi></a></p>
<p dir="auto">using UIFlow firmware 1.9.8 on my M5Tough I can simply hide a button and after that it no longer is touchable until I make it show again.</p>
<p dir="auto">Have you tried <code>Set touch_button_X hide</code> block?</p>
<p dir="auto">Care to share your UIFlow code?</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/17832</link><guid isPermaLink="true">https://community.m5stack.com/post/17832</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Tue, 28 Jun 2022 14:49:55 GMT</pubDate></item></channel></rss>