<?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[Zugriff auf Komponenten anderer Forms]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>vielleicht kann mir ja jemand helfen.</p>
<p>Hab mehrere Forms und moechte jetzt z.B. von Form1 aus mittels einer Messagebox den Inhalt eines Editfeldes von Form2 ausgeben. Alles was ich erhalte ist eine leere Messagebox, obwohl das Editfeld auf Form2 definitiv gefuellt ist.</p>
<p>Bekannt ist Form2 auch:</p>
<pre><code class="language-cpp">TForm2 *form2 = new TForm2(this);

ShowMessage(form2-&gt;Edit1-&gt;Text);
</code></pre>
<p>Hat jemand einen Tipp fuer mich?</p>
<p>Mit freundlichen Gruessen<br />
chloe</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/147599/zugriff-auf-komponenten-anderer-forms</link><generator>RSS for Node</generator><lastBuildDate>Thu, 06 Aug 2026 06:05:00 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/147599.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 18 May 2006 13:39:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Zugriff auf Komponenten anderer Forms on Thu, 18 May 2006 13:39:59 GMT]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>vielleicht kann mir ja jemand helfen.</p>
<p>Hab mehrere Forms und moechte jetzt z.B. von Form1 aus mittels einer Messagebox den Inhalt eines Editfeldes von Form2 ausgeben. Alles was ich erhalte ist eine leere Messagebox, obwohl das Editfeld auf Form2 definitiv gefuellt ist.</p>
<p>Bekannt ist Form2 auch:</p>
<pre><code class="language-cpp">TForm2 *form2 = new TForm2(this);

ShowMessage(form2-&gt;Edit1-&gt;Text);
</code></pre>
<p>Hat jemand einen Tipp fuer mich?</p>
<p>Mit freundlichen Gruessen<br />
chloe</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1060156</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1060156</guid><dc:creator><![CDATA[chloe]]></dc:creator><pubDate>Thu, 18 May 2006 13:39:59 GMT</pubDate></item><item><title><![CDATA[Reply to Zugriff auf Komponenten anderer Forms on Thu, 18 May 2006 13:45:40 GMT]]></title><description><![CDATA[<p><a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39242.html" rel="nofollow">FAQ</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1060163</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1060163</guid><dc:creator><![CDATA[Morris Szyslak]]></dc:creator><pubDate>Thu, 18 May 2006 13:45:40 GMT</pubDate></item><item><title><![CDATA[Reply to Zugriff auf Komponenten anderer Forms on Thu, 18 May 2006 13:51:00 GMT]]></title><description><![CDATA[<p>ja das hab ich ja gesehen,<br />
aber ich dachte bzw. hoffe, dass das auch ohne uebergabe von Variablen geht. Also ein Direkter Zugriff auf den Inhalt des Editfeldes.</p>
<p>mfg<br />
chloe</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1060167</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1060167</guid><dc:creator><![CDATA[chloe]]></dc:creator><pubDate>Thu, 18 May 2006 13:51:00 GMT</pubDate></item><item><title><![CDATA[Reply to Zugriff auf Komponenten anderer Forms on Thu, 18 May 2006 14:05:52 GMT]]></title><description><![CDATA[<p>Der Inhalt des Editierfeldes befindet sich <strong>in</strong> einer Variablen. Ein direkter Zugriff <strong>ist</strong> also eine Variablenübergabe.</p>
<p>Wenn du sagst, daß das Editfeld bereits gefüllt ist, muß Form2 schon existieren, deshalb ist ein neu erstellen nicht zweckmäßig. Vermutlich heißt das sicherlich automatisch erstellte zweite Formular Form2.</p>
<pre><code class="language-cpp">ShowMessage(Form2-&gt;Edit1-&gt;Text);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1060183</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1060183</guid><dc:creator><![CDATA[Morris Szyslak]]></dc:creator><pubDate>Thu, 18 May 2006 14:05:52 GMT</pubDate></item></channel></rss>