<?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[Selbst erstellte Komponente auf TForm]]></title><description><![CDATA[<p>Ich habe folgenden Code:</p>
<pre><code>class PACKAGE TServo : public TForm
{
private:

protected:
public:
__fastcall TServo(TComponent* Owner)
        : TForm(Owner)
{
      //((TForm*)Owner)-&gt;FormStyle = fsMDIForm;
      Parent = (TForm*)Owner;
      FormStyle = fsMDIChild;

      eServo = new TEdit(this);
      eServo-&gt;Parent = (TForm*)this;
}
__published:
};
</code></pre>
<p>Es soll eine TForm aum meiner MainForm angezeigt werden.</p>
<p>Es wird aber &quot;Nichts&quot; angezeigt. Im Objektinspector sind alle Eigenschaften der Form zu sehen und auch die vier Begrenzungspunkte auf der MainForm sind vorhanden (um die Form in der Größe zu ändern). Aber von der Form wird leider nichts angezeigt (z.b. TitelLeiste ... etc.).</p>
<p>Wie bekomme Ich die Form auf der Form sichtbar?</p>
<p>LG</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/189444/selbst-erstellte-komponente-auf-tform</link><generator>RSS for Node</generator><lastBuildDate>Mon, 17 Aug 2026 07:45:31 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/189444.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 13 Aug 2007 08:09:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Selbst erstellte Komponente auf TForm on Mon, 13 Aug 2007 08:09:49 GMT]]></title><description><![CDATA[<p>Ich habe folgenden Code:</p>
<pre><code>class PACKAGE TServo : public TForm
{
private:

protected:
public:
__fastcall TServo(TComponent* Owner)
        : TForm(Owner)
{
      //((TForm*)Owner)-&gt;FormStyle = fsMDIForm;
      Parent = (TForm*)Owner;
      FormStyle = fsMDIChild;

      eServo = new TEdit(this);
      eServo-&gt;Parent = (TForm*)this;
}
__published:
};
</code></pre>
<p>Es soll eine TForm aum meiner MainForm angezeigt werden.</p>
<p>Es wird aber &quot;Nichts&quot; angezeigt. Im Objektinspector sind alle Eigenschaften der Form zu sehen und auch die vier Begrenzungspunkte auf der MainForm sind vorhanden (um die Form in der Größe zu ändern). Aber von der Form wird leider nichts angezeigt (z.b. TitelLeiste ... etc.).</p>
<p>Wie bekomme Ich die Form auf der Form sichtbar?</p>
<p>LG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1343506</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1343506</guid><dc:creator><![CDATA[Boto]]></dc:creator><pubDate>Mon, 13 Aug 2007 08:09:49 GMT</pubDate></item><item><title><![CDATA[Reply to Selbst erstellte Komponente auf TForm on Mon, 13 Aug 2007 09:54:27 GMT]]></title><description><![CDATA[<p>[Edit] wie und wo erzeugst du denn das neue Form?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1343578</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1343578</guid><dc:creator><![CDATA[Linnea]]></dc:creator><pubDate>Mon, 13 Aug 2007 09:54:27 GMT</pubDate></item><item><title><![CDATA[Reply to Selbst erstellte Komponente auf TForm on Mon, 13 Aug 2007 10:44:55 GMT]]></title><description><![CDATA[<p>Das soll eine Komponente werden, die man dann so wie z.B. TEdit einfach oben aus der Leiste, wo die ganzen Komponenten drin sind, auf die mainform ziehen kann. Also die Form wird von dem Benutzer erstellt, als würde er ein TEdit auf seine Form ziehen.</p>
<p>LG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1343616</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1343616</guid><dc:creator><![CDATA[Boto]]></dc:creator><pubDate>Mon, 13 Aug 2007 10:44:55 GMT</pubDate></item></channel></rss>