<?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[Mehrere Edit&#x27;s Label&#x27;s etc.  mit nur schneller bearbeiten.]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich habe mehrere Label's bzw. Edit's in meiner Form nun möchte ich z.B. das alle Edits von: &quot;Edit1&quot; bis zu &quot;Edit75&quot; Visible = false kriegen nun ist das viel Arbeit für jedes Edit sowas zu machen:</p>
<pre><code class="language-cpp">Edit1-&gt;Visible = false;
....
Edit75-&gt;Visible = false;
</code></pre>
<p>Kann man es nicht irgendwie vereinfachen, das alle Edits von Edit1 -&gt; Edit75 aufeinmal Visible = false kriegen?</p>
<p>Mfg. BNS</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/173399/mehrere-edit-s-label-s-etc-mit-nur-schneller-bearbeiten</link><generator>RSS for Node</generator><lastBuildDate>Fri, 14 Aug 2026 15:01:34 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/173399.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 14 Feb 2007 18:17:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mehrere Edit&#x27;s Label&#x27;s etc.  mit nur schneller bearbeiten. on Wed, 14 Feb 2007 18:17:32 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich habe mehrere Label's bzw. Edit's in meiner Form nun möchte ich z.B. das alle Edits von: &quot;Edit1&quot; bis zu &quot;Edit75&quot; Visible = false kriegen nun ist das viel Arbeit für jedes Edit sowas zu machen:</p>
<pre><code class="language-cpp">Edit1-&gt;Visible = false;
....
Edit75-&gt;Visible = false;
</code></pre>
<p>Kann man es nicht irgendwie vereinfachen, das alle Edits von Edit1 -&gt; Edit75 aufeinmal Visible = false kriegen?</p>
<p>Mfg. BNS</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1228998</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1228998</guid><dc:creator><![CDATA[BNightSpeeder]]></dc:creator><pubDate>Wed, 14 Feb 2007 18:17:32 GMT</pubDate></item><item><title><![CDATA[Reply to Mehrere Edit&#x27;s Label&#x27;s etc.  mit nur schneller bearbeiten. on Wed, 14 Feb 2007 18:37:06 GMT]]></title><description><![CDATA[<p>Du könntest in einer Schleife alle Controls des Fensters durchgehen und bei jedem TEdit Visible auf false setzen.</p>
<p>Wenn möglich, wäre es natürlich beim Erstellen des Fensters im Object Inspector am einfachsten.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1229003</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1229003</guid><dc:creator><![CDATA[Christian Sonder]]></dc:creator><pubDate>Wed, 14 Feb 2007 18:37:06 GMT</pubDate></item><item><title><![CDATA[Reply to Mehrere Edit&#x27;s Label&#x27;s etc.  mit nur schneller bearbeiten. on Wed, 14 Feb 2007 18:42:46 GMT]]></title><description><![CDATA[<p>Ok, in einer Schleife aber wie genau? Ich kenne mich mit Schleifen aus aber ich weiß nicht wie ich dan die Nummerierung machen soll:</p>
<pre><code class="language-cpp">Edit &quot;index der for()&quot; ...
</code></pre>
<p>oder wie genau?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1229006</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1229006</guid><dc:creator><![CDATA[BNightSpeeder]]></dc:creator><pubDate>Wed, 14 Feb 2007 18:42:46 GMT</pubDate></item><item><title><![CDATA[Reply to Mehrere Edit&#x27;s Label&#x27;s etc.  mit nur schneller bearbeiten. on Wed, 14 Feb 2007 18:44:18 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>Hier ist wieder ein Hinweis auf die <a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39305.html" rel="nofollow">FAQ</a> angebracht. In diesem Fall das Thema <strong>Komponenten benutzen</strong><br />
z.Bsp. hier<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39211.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-39211.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1229007</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1229007</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Wed, 14 Feb 2007 18:44:18 GMT</pubDate></item><item><title><![CDATA[Reply to Mehrere Edit&#x27;s Label&#x27;s etc.  mit nur schneller bearbeiten. on Wed, 14 Feb 2007 18:50:01 GMT]]></title><description><![CDATA[<p>thx.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1229013</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1229013</guid><dc:creator><![CDATA[BNightSpeeder]]></dc:creator><pubDate>Wed, 14 Feb 2007 18:50:01 GMT</pubDate></item><item><title><![CDATA[Reply to Mehrere Edit&#x27;s Label&#x27;s etc.  mit nur schneller bearbeiten. on Mon, 19 Feb 2007 13:30:33 GMT]]></title><description><![CDATA[<p>Wenn die Labels und Edit's auf ein Paneel gesetzt wurden, so können diese (und alle übrige auf dem Paneel befindliche Komponenten) sehr einfach ausgeblendet werden.</p>
<pre><code>[cpp]
void EnablePanel(TPanel* Panel, const bool&amp; Ein){
 TControl *Temp;
 for(int I = Panel-&gt;ControlCount-1; I &gt;= 0; I--){
  Temp =Panel-&gt;Controls[I];
  TPanel *KindPanel= dynamic_cast&lt;TPanel *&gt;(Temp);
  if(KindPanel != NULL){
   EnablePanel(KindPanel, Ein);
   continue;
  }
  Temp-&gt;Visible = Ein;
 }
 Panel-&gt;Visible = Ein;
 Panel-&gt;Repaint();
 return;
}
[/cpp]
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1231190</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1231190</guid><dc:creator><![CDATA[3axap]]></dc:creator><pubDate>Mon, 19 Feb 2007 13:30:33 GMT</pubDate></item></channel></rss>