<?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[autmoatische weiterleitung von form2 auf form1]]></title><description><![CDATA[<p>Hallo!</p>
<p>Brauch mal wieder Hilfe (wie immer <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /> )</p>
<p>Und zwar:</p>
<p>Wenn man von Form1 auf Form2 kommt, soll dort nur kurz ein text erscheinen<br />
(Label komponente und dort steht das drin (bis jetzt pille palle))</p>
<p>es soll so circa 2, 3 sekunden erscheinen und wieder auf form1 gehen.</p>
<p>hab mir gedacht eine for schleife zu nehmen, wo eine variable runter gezählt wird</p>
<pre><code class="language-cpp">__fastcall TForm2::TForm2(TComponent* Owner)
        : TForm(Owner)
{
for(int x=100000;x&gt;2;x--)
{
Form2-&gt;Hide();
Form1-&gt;Show();
}
}
//---------------------------------------------------------------------------
</code></pre>
<p>das klappt auch, leider macht der das bevor das programm gestartet wird und nicht beim form2</p>
<p>könnt ihr mir sagen, wie ich das nur auf form2 legen kann und nicht aufs ganze programm?<br />
oder gibt es ne bessere lösung?</p>
<p>thanks _Dude</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/98239/autmoatische-weiterleitung-von-form2-auf-form1</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 01:44:34 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/98239.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 18 Jan 2005 04:18:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to autmoatische weiterleitung von form2 auf form1 on Tue, 18 Jan 2005 04:18:15 GMT]]></title><description><![CDATA[<p>Hallo!</p>
<p>Brauch mal wieder Hilfe (wie immer <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /> )</p>
<p>Und zwar:</p>
<p>Wenn man von Form1 auf Form2 kommt, soll dort nur kurz ein text erscheinen<br />
(Label komponente und dort steht das drin (bis jetzt pille palle))</p>
<p>es soll so circa 2, 3 sekunden erscheinen und wieder auf form1 gehen.</p>
<p>hab mir gedacht eine for schleife zu nehmen, wo eine variable runter gezählt wird</p>
<pre><code class="language-cpp">__fastcall TForm2::TForm2(TComponent* Owner)
        : TForm(Owner)
{
for(int x=100000;x&gt;2;x--)
{
Form2-&gt;Hide();
Form1-&gt;Show();
}
}
//---------------------------------------------------------------------------
</code></pre>
<p>das klappt auch, leider macht der das bevor das programm gestartet wird und nicht beim form2</p>
<p>könnt ihr mir sagen, wie ich das nur auf form2 legen kann und nicht aufs ganze programm?<br />
oder gibt es ne bessere lösung?</p>
<p>thanks _Dude</p>
]]></description><link>https://www.c-plusplus.net/forum/post/699081</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/699081</guid><dc:creator><![CDATA[Hey_Dude]]></dc:creator><pubDate>Tue, 18 Jan 2005 04:18:15 GMT</pubDate></item><item><title><![CDATA[Reply to autmoatische weiterleitung von form2 auf form1 on Tue, 18 Jan 2005 05:57:25 GMT]]></title><description><![CDATA[<p>ein Timer wird dich zum Erfolg führen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/699086</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/699086</guid><dc:creator><![CDATA[Hase030]]></dc:creator><pubDate>Tue, 18 Jan 2005 05:57:25 GMT</pubDate></item><item><title><![CDATA[Reply to autmoatische weiterleitung von form2 auf form1 on Tue, 18 Jan 2005 07:15:26 GMT]]></title><description><![CDATA[<p>aber auf disabled stellen und erst wenn du die form aufrufst auf enabled setzen.</p>
<p>ps.:<br />
das da oben kann ja nicht klappen weil der Code im Konstruktur steht ,d.h. er wird aufgerufen sobald eine Instanz von Form2 erstellt wird und das geschieht beim Programmstart.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/699104</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/699104</guid><dc:creator><![CDATA[Beliah]]></dc:creator><pubDate>Tue, 18 Jan 2005 07:15:26 GMT</pubDate></item><item><title><![CDATA[Reply to autmoatische weiterleitung von form2 auf form1 on Tue, 18 Jan 2005 07:37:04 GMT]]></title><description><![CDATA[<p>Und die for-Schleife macht überhaupt nen ziemlichen Blödsinn... <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/699112</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/699112</guid><dc:creator><![CDATA[HEZ]]></dc:creator><pubDate>Tue, 18 Jan 2005 07:37:04 GMT</pubDate></item><item><title><![CDATA[Reply to autmoatische weiterleitung von form2 auf form1 on Tue, 18 Jan 2005 14:16:54 GMT]]></title><description><![CDATA[<p>Würde bei OnFormShow das hineinschreiben und dann die Funktion Sleep verwenden! Vielleicht dann im Anschluß noch ein Form2-&gt;Close() ;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/699404</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/699404</guid><dc:creator><![CDATA[Heinzelmännchen]]></dc:creator><pubDate>Tue, 18 Jan 2005 14:16:54 GMT</pubDate></item></channel></rss>