<?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[Ereignisse zu dynamische Buttons hinzufügen.]]></title><description><![CDATA[<p>Ich erstelle dynamische Buttons so:</p>
<pre><code class="language-cpp">AnsiString Buffer;
int bis=1;
for (int a=0;a &lt; bis;a++)
   {
        newButton[a]= new TButton(this);
        newButton[a]-&gt;Parent = Form1;
        newButton[a]-&gt;Name = &quot;btn_&quot; + IntToStr(a);
        newButton[a]-&gt;Top =x;
        newButton[a]-&gt;Left = x;
        newButton[a]-&gt;Visible = true;
   }
</code></pre>
<p>Aber ich will den Button natürlich noch Ereignisse (OnClick) hinzufügen, aber ich weiß nicht wie man das macht. Wie macht man dies?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/139442/ereignisse-zu-dynamische-buttons-hinzufügen</link><generator>RSS for Node</generator><lastBuildDate>Sun, 02 Aug 2026 22:29:38 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/139442.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 06 Mar 2006 17:56:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Ereignisse zu dynamische Buttons hinzufügen. on Mon, 06 Mar 2006 17:56:18 GMT]]></title><description><![CDATA[<p>Ich erstelle dynamische Buttons so:</p>
<pre><code class="language-cpp">AnsiString Buffer;
int bis=1;
for (int a=0;a &lt; bis;a++)
   {
        newButton[a]= new TButton(this);
        newButton[a]-&gt;Parent = Form1;
        newButton[a]-&gt;Name = &quot;btn_&quot; + IntToStr(a);
        newButton[a]-&gt;Top =x;
        newButton[a]-&gt;Left = x;
        newButton[a]-&gt;Visible = true;
   }
</code></pre>
<p>Aber ich will den Button natürlich noch Ereignisse (OnClick) hinzufügen, aber ich weiß nicht wie man das macht. Wie macht man dies?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1009968</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1009968</guid><dc:creator><![CDATA[Hauke]]></dc:creator><pubDate>Mon, 06 Mar 2006 17:56:18 GMT</pubDate></item><item><title><![CDATA[Reply to Ereignisse zu dynamische Buttons hinzufügen. on Mon, 06 Mar 2006 18:12:03 GMT]]></title><description><![CDATA[<p>Evtl. das hier ?<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39206.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-39206.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1009977</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1009977</guid><dc:creator><![CDATA[Galeon]]></dc:creator><pubDate>Mon, 06 Mar 2006 18:12:03 GMT</pubDate></item><item><title><![CDATA[Reply to Ereignisse zu dynamische Buttons hinzufügen. on Mon, 06 Mar 2006 18:25:22 GMT]]></title><description><![CDATA[<p>Ok, Danke.<br />
Ich dachte nicht, dass es doch so relativ einfach ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1009987</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1009987</guid><dc:creator><![CDATA[Hauke]]></dc:creator><pubDate>Mon, 06 Mar 2006 18:25:22 GMT</pubDate></item></channel></rss>