<?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[Variable Anzahl an dynamisch angelegten Objekten]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich habe Checkboxen und StaticText dynamisch angelegt. Wie schaffe ich es dass anstelle der 100 ein variabler Wert steht. der sich anhand meiner While Bedingung ergibt?</p>
<pre><code>TCheckBox *Checkbox[100];
        TStaticText *StaticText[100];
        TStaticText *Label[100];

 while(!FILINGSYSTEM-&gt;Query1-&gt;Eof)
     {
        icount++;
        for (int i = icount; i &lt;= icount; i++)

        {
            x++;
            Checkbox[i] = new TCheckBox(this);
            StaticText[i] = new TStaticText(this);
            Label[i] = new TStaticText(this);
            Checkbox[i]-&gt;Parent = this;
            StaticText[i]-&gt;Parent = this;
            Label[i]-&gt;Parent = this;
		//usw...
	}
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/157987/variable-anzahl-an-dynamisch-angelegten-objekten</link><generator>RSS for Node</generator><lastBuildDate>Mon, 10 Aug 2026 14:40:18 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/157987.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 31 Aug 2006 11:20:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Variable Anzahl an dynamisch angelegten Objekten on Thu, 31 Aug 2006 11:20:07 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich habe Checkboxen und StaticText dynamisch angelegt. Wie schaffe ich es dass anstelle der 100 ein variabler Wert steht. der sich anhand meiner While Bedingung ergibt?</p>
<pre><code>TCheckBox *Checkbox[100];
        TStaticText *StaticText[100];
        TStaticText *Label[100];

 while(!FILINGSYSTEM-&gt;Query1-&gt;Eof)
     {
        icount++;
        for (int i = icount; i &lt;= icount; i++)

        {
            x++;
            Checkbox[i] = new TCheckBox(this);
            StaticText[i] = new TStaticText(this);
            Label[i] = new TStaticText(this);
            Checkbox[i]-&gt;Parent = this;
            StaticText[i]-&gt;Parent = this;
            Label[i]-&gt;Parent = this;
		//usw...
	}
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1128291</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1128291</guid><dc:creator><![CDATA[Aeris]]></dc:creator><pubDate>Thu, 31 Aug 2006 11:20:07 GMT</pubDate></item><item><title><![CDATA[Reply to Variable Anzahl an dynamisch angelegten Objekten on Thu, 31 Aug 2006 11:26:20 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>siehe FAQ hier im <em>BCB-Forum</em>, Abschnitt <em>Komponenten benutzen</em>.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1128296</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1128296</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Thu, 31 Aug 2006 11:26:20 GMT</pubDate></item></channel></rss>