<?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[Topics tagged with disappear]]></title><description><![CDATA[A list of topics that have been tagged with disappear]]></description><link>https://community.m5stack.com/tags/disappear</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Mar 2026 03:13:34 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/tags/disappear.rss" rel="self" type="application/rss+xml"/><pubDate>Invalid Date</pubDate><ttl>60</ttl><item><title><![CDATA[Solution to make Button disappear]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/2953/core2-make-button-disappear">[Core2] make Button disappear</a><br />
Re: <a href="/topic/2953/core2-make-button-disappear">[Core2] make Button disappear</a></p>
<p dir="auto">I found the following solution, which works for me (extract only):</p>
<pre><code>Button* button1 = NULL;
// create button
if (button1) delete(button1);
button1 = new Button(0, 0, 158, 80, false);
// disable button
button1-&gt;delHandlers(_softButtonEvent);
// the following line is optional, does not change anything if button is deleted
// button1-&gt;erase(BLACK); // documentation in M5Button.h -&gt; line 716
delete(button1);

// that trick does it; other approaches did not work reliably
button1 = new Button(0, 0, 0, 0, false, ""); 
</code></pre>
]]></description><link>https://community.m5stack.com/topic/2971/solution-to-make-button-disappear</link><guid isPermaLink="true">https://community.m5stack.com/topic/2971/solution-to-make-button-disappear</guid><dc:creator><![CDATA[wa-berlin]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>