<?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[Parent ist immer Form1]]></title><description><![CDATA[<p>Hallo,<br />
ich habe eine Klasse(MButton) von TCustomControl abgeleitet.<br />
Mein Problem ist, dass wenn ich den Button mit der IDE plazieren will,<br />
Parent (Owner?) immer Form1 wird und nicht Panelx oder GroupBoXy.<br />
Was und Wo muss ich eintergen ?<br />
Habe im constructor schon<br />
Parent = (TWinControl*) Owner;<br />
u. ä. probiert.</p>
<p>Es will nicht funktionieren !</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/142738/parent-ist-immer-form1</link><generator>RSS for Node</generator><lastBuildDate>Tue, 04 Aug 2026 08:23:37 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/142738.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 02 Apr 2006 13:34:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Parent ist immer Form1 on Sun, 02 Apr 2006 13:34:49 GMT]]></title><description><![CDATA[<p>Hallo,<br />
ich habe eine Klasse(MButton) von TCustomControl abgeleitet.<br />
Mein Problem ist, dass wenn ich den Button mit der IDE plazieren will,<br />
Parent (Owner?) immer Form1 wird und nicht Panelx oder GroupBoXy.<br />
Was und Wo muss ich eintergen ?<br />
Habe im constructor schon<br />
Parent = (TWinControl*) Owner;<br />
u. ä. probiert.</p>
<p>Es will nicht funktionieren !</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1029142</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1029142</guid><dc:creator><![CDATA[thomas69]]></dc:creator><pubDate>Sun, 02 Apr 2006 13:34:49 GMT</pubDate></item><item><title><![CDATA[Reply to Parent ist immer Form1 on Sun, 02 Apr 2006 13:42:09 GMT]]></title><description><![CDATA[<p>Ist es eine selbstgeschriebene Komponente?</p>
<p>Parent = this;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1029151</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1029151</guid><dc:creator><![CDATA[Christian211]]></dc:creator><pubDate>Sun, 02 Apr 2006 13:42:09 GMT</pubDate></item><item><title><![CDATA[Reply to Parent ist immer Form1 on Sun, 02 Apr 2006 13:49:03 GMT]]></title><description><![CDATA[<p>Ja.<br />
Hatte was ähnliches in delphi (Firma) geschrieben, nur in c++ (Privat) will es nicht.<br />
Ich benutze BCB6.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1029164</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1029164</guid><dc:creator><![CDATA[thomas69]]></dc:creator><pubDate>Sun, 02 Apr 2006 13:49:03 GMT</pubDate></item><item><title><![CDATA[Reply to Parent ist immer Form1 on Sun, 02 Apr 2006 14:58:47 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<blockquote>
<p>Parent = (TWinControl*) Owner;</p>
</blockquote>
<p>...und genau das ist das Problem.<br />
Der Owner ist immer das zugrundeliegende Form, lediglich das Parent wird auf das jeweilige Panel gesetzt.</p>
<p>Wenn Du im C++Builder einen Button auf ein Panel legst, dann ist z.B.:<br />
Button1-&gt;Parent == Panel1<br />
aber<br />
Button1-&gt;Owner == Form1</p>
<p>Parent ist nicht das gleiche wie Owner!</p>
<p>Gruß,<br />
Robert</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1029222</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1029222</guid><dc:creator><![CDATA[rowisoft]]></dc:creator><pubDate>Sun, 02 Apr 2006 14:58:47 GMT</pubDate></item><item><title><![CDATA[Reply to Parent ist immer Form1 on Sun, 02 Apr 2006 15:15:47 GMT]]></title><description><![CDATA[<p>Bei Parent = xxx geht es ja.<br />
Es muss aber von der IDE aus gehen.<br />
-&gt; Maus auf Symbol -&gt; Symbol auf ein Panel ziehen + loslassen -&gt;<br />
SOLL: Parent == Panel</p>
<p>sonst landet es irgendwo auf dem Formular.<br />
Ich habe keine Ideen mehr und auch noch keine Komponente gefunden bei der man<br />
mal nachschauen kann. (außer delphi)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1029233</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1029233</guid><dc:creator><![CDATA[thomas69]]></dc:creator><pubDate>Sun, 02 Apr 2006 15:15:47 GMT</pubDate></item><item><title><![CDATA[Reply to Parent ist immer Form1 on Sun, 02 Apr 2006 15:52:22 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>hast Du die Eigenschaft &quot;Parent&quot; als published deklariert? In TCustomXXX dürften ja alle Eigenschaften erstmal als protected deklariert sein, oder?!?</p>
<p>Gruß,<br />
Robert</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1029258</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1029258</guid><dc:creator><![CDATA[rowisoft]]></dc:creator><pubDate>Sun, 02 Apr 2006 15:52:22 GMT</pubDate></item><item><title><![CDATA[Reply to Parent ist immer Form1 on Sun, 02 Apr 2006 16:53:20 GMT]]></title><description><![CDATA[<p>... auch schon Versucht.<br />
Dann erscheint in der IDE ein Feld mit &quot;Parent&quot; und Parent ist Form1.<br />
Ich glaube nicht das es ein &quot;einfacher&quot; Fehler von mir ist. Entweder ich mache was<br />
grundsätzlich falsch oder ich beachte was nicht, was die IDE braucht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1029296</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1029296</guid><dc:creator><![CDATA[thomas69]]></dc:creator><pubDate>Sun, 02 Apr 2006 16:53:20 GMT</pubDate></item></channel></rss>