<?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[CLX&#x2F;VCL komponente zur Laufzeit erzeugen]]></title><description><![CDATA[<p>Ich möchte in meinem Programm einen Button zur Laufzeit erzeugen. Mein aktueller Code dazu:</p>
<pre><code class="language-cpp">TButton *Button = new TButton(Form1);
Button-&gt;Name = &quot;Button&quot;;
Button-&gt;Left = 0;
Button-&gt;Top = 0;
Button-&gt;Height = 100;
Button-&gt;Width= 100;
Buttpn-&gt;Show();
Form1-&gt;Repaint();
</code></pre>
<p>Das ganze wird tatsächlich erzeugt (zumindest ist Button nach dem Konstruktoraufruf nicht mehr NULL) aber man sieht nix auf dem Formular? Wo liegt der Fehler??</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/103537/clx-vcl-komponente-zur-laufzeit-erzeugen</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Jul 2026 13:42:38 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/103537.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 Mar 2005 17:01:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CLX&#x2F;VCL komponente zur Laufzeit erzeugen on Wed, 09 Mar 2005 17:01:08 GMT]]></title><description><![CDATA[<p>Ich möchte in meinem Programm einen Button zur Laufzeit erzeugen. Mein aktueller Code dazu:</p>
<pre><code class="language-cpp">TButton *Button = new TButton(Form1);
Button-&gt;Name = &quot;Button&quot;;
Button-&gt;Left = 0;
Button-&gt;Top = 0;
Button-&gt;Height = 100;
Button-&gt;Width= 100;
Buttpn-&gt;Show();
Form1-&gt;Repaint();
</code></pre>
<p>Das ganze wird tatsächlich erzeugt (zumindest ist Button nach dem Konstruktoraufruf nicht mehr NULL) aber man sieht nix auf dem Formular? Wo liegt der Fehler??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/741470</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/741470</guid><dc:creator><![CDATA[mwoidt]]></dc:creator><pubDate>Wed, 09 Mar 2005 17:01:08 GMT</pubDate></item><item><title><![CDATA[Reply to CLX&#x2F;VCL komponente zur Laufzeit erzeugen on Wed, 09 Mar 2005 17:06:16 GMT]]></title><description><![CDATA[<p>Auch ein Kandidat für die Top 10 der meistgestellten Fragen...<br />
Der Parent fehlt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/741472</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/741472</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Wed, 09 Mar 2005 17:06:16 GMT</pubDate></item><item><title><![CDATA[Reply to CLX&#x2F;VCL komponente zur Laufzeit erzeugen on Wed, 09 Mar 2005 17:06:21 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>es fehlt noch</p>
<pre><code class="language-cpp">Button-&gt;Parent = Form1;
</code></pre>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/741473</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/741473</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 09 Mar 2005 17:06:21 GMT</pubDate></item><item><title><![CDATA[Reply to CLX&#x2F;VCL komponente zur Laufzeit erzeugen on Wed, 09 Mar 2005 17:13:53 GMT]]></title><description><![CDATA[<p>Der Vollständigkeit halber: siehe <a href="http://c-plusplus.net/forum/viewtopic-var-t-is-39305.html" rel="nofollow">FAQ</a>, &quot;Komponenten - zur Laufzeit erstellen ...&quot;.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/741482</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/741482</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Wed, 09 Mar 2005 17:13:53 GMT</pubDate></item><item><title><![CDATA[Reply to CLX&#x2F;VCL komponente zur Laufzeit erzeugen on Wed, 09 Mar 2005 18:13:45 GMT]]></title><description><![CDATA[<p>Tut mir leid das ich vorher nich gesucht hab. Bitte verzeiht mir <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/741537</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/741537</guid><dc:creator><![CDATA[mwoidt]]></dc:creator><pubDate>Wed, 09 Mar 2005 18:13:45 GMT</pubDate></item></channel></rss>