<?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[TImage-Objekte: für Zahlreiche Images die gleiche Änderung vornehmen??]]></title><description><![CDATA[<p>Habe ca. 60 Images in einem Formular und möchte ihren Inhalt überprüfen und ändern, weiss aber nicht wie ich ihre Namen in einer Schleife mit einer Liste oder sonstwie nacheineander aufrufbar machen soll. Habe bis jetzt jedes einzelne Image gesondert bearbeitet, das geht an die Substantz. Kann mir einer helfen?? vielen Dank</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/114329/timage-objekte-für-zahlreiche-images-die-gleiche-änderung-vornehmen</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Jul 2026 19:44:48 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/114329.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 02 Jul 2005 17:28:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TImage-Objekte: für Zahlreiche Images die gleiche Änderung vornehmen?? on Sat, 02 Jul 2005 17:28:00 GMT]]></title><description><![CDATA[<p>Habe ca. 60 Images in einem Formular und möchte ihren Inhalt überprüfen und ändern, weiss aber nicht wie ich ihre Namen in einer Schleife mit einer Liste oder sonstwie nacheineander aufrufbar machen soll. Habe bis jetzt jedes einzelne Image gesondert bearbeitet, das geht an die Substantz. Kann mir einer helfen?? vielen Dank</p>
]]></description><link>https://www.c-plusplus.net/forum/post/822298</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/822298</guid><dc:creator><![CDATA[Liman]]></dc:creator><pubDate>Sat, 02 Jul 2005 17:28:00 GMT</pubDate></item><item><title><![CDATA[Reply to TImage-Objekte: für Zahlreiche Images die gleiche Änderung vornehmen?? on Sat, 02 Jul 2005 17:38:18 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>siehe FAQ im Abschitt Komponenten benutzen, den Thread über Dynamische Arrays.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/822305</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/822305</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Sat, 02 Jul 2005 17:38:18 GMT</pubDate></item><item><title><![CDATA[Reply to TImage-Objekte: für Zahlreiche Images die gleiche Änderung vornehmen?? on Sun, 03 Jul 2005 11:56:49 GMT]]></title><description><![CDATA[<p>Habe da nachgeschaut, finde aber nicht das Richtige.</p>
<p>problem ist wie folgt:</p>
<pre><code>Image1-&gt;hide();
Image2-&gt;hide();
Image3-&gt;hide();
Image4-&gt;hide();
Image5-&gt;hide();
Image6-&gt;hide();
...
</code></pre>
<p>möchte es in der Art haben:</p>
<pre><code>For(i=1;i&lt;6;i++)
  image[i]-&gt;hide();
</code></pre>
<p>Weiss natürlich dass das so nicht geht, es geht mir nur ums Prinzip.<br />
Wie stelle ich das an ???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/822641</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/822641</guid><dc:creator><![CDATA[Liman]]></dc:creator><pubDate>Sun, 03 Jul 2005 11:56:49 GMT</pubDate></item><item><title><![CDATA[Reply to TImage-Objekte: für Zahlreiche Images die gleiche Änderung vornehmen?? on Sun, 03 Jul 2005 12:06:45 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>das einfachste in deinem Fall ist TForm::FindComponent().</p>
<p>ich halte aber ein Array (muß ja nicht dynmamisch sein) für besser.</p>
<pre><code class="language-cpp">// Deklaration der Dimension und des des Arrays
const int ImageCount = 5;
TImage *ImageArray[ImageCount];
...

// Initialisierung des Arrays im Konstruktor
ImageArray[0] = Image1;
ImageArray[1] = Image2;
...

// Benutzen
for (i=0;i&lt;ImageCount;i++)
  ImageArray[i]-&gt;hide()
</code></pre>
<p>;</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/822657</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/822657</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Sun, 03 Jul 2005 12:06:45 GMT</pubDate></item><item><title><![CDATA[Reply to TImage-Objekte: für Zahlreiche Images die gleiche Änderung vornehmen?? on Sun, 03 Jul 2005 12:12:40 GMT]]></title><description><![CDATA[<p>Das ist es. vielen Dank!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/822673</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/822673</guid><dc:creator><![CDATA[Liman]]></dc:creator><pubDate>Sun, 03 Jul 2005 12:12:40 GMT</pubDate></item></channel></rss>