<?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[Form-&amp;gt;ShowModal() geht nicht mehr!?]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>ich bin gerade am ausrasten. Ich habe ein Formular (Hauptformular) und möchte ein 2. modales Fenster aufrufen. In einem Event steht dann:</p>
<pre><code class="language-cpp">TForm2* p = new TForm2(this);
   p-&gt;ShowModal();
</code></pre>
<p>Wie man das eben so macht...<br />
Jetzt bekomme ich eine Fehlermeldung:<br />
'Aus einem sichtbaren Fenster kann kein modales gemacht werden.'</p>
<p>Die Form2 steht bei den Optionen-&gt;Formulare bei Verfügbaren Formularen.<br />
Die Hauptform ist auf FormStyle auf fsNormal eingestellt.</p>
<p>Das hat immer funktioniert <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /> , kann mir jemand sagen was da falsch läuft!?</p>
<p>Vielen Dank!<br />
Mirko</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/112641/form-gt-showmodal-geht-nicht-mehr</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Jul 2026 18:25:02 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/112641.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 14 Jun 2005 17:57:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Form-&amp;gt;ShowModal() geht nicht mehr!? on Tue, 14 Jun 2005 17:57:08 GMT]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>ich bin gerade am ausrasten. Ich habe ein Formular (Hauptformular) und möchte ein 2. modales Fenster aufrufen. In einem Event steht dann:</p>
<pre><code class="language-cpp">TForm2* p = new TForm2(this);
   p-&gt;ShowModal();
</code></pre>
<p>Wie man das eben so macht...<br />
Jetzt bekomme ich eine Fehlermeldung:<br />
'Aus einem sichtbaren Fenster kann kein modales gemacht werden.'</p>
<p>Die Form2 steht bei den Optionen-&gt;Formulare bei Verfügbaren Formularen.<br />
Die Hauptform ist auf FormStyle auf fsNormal eingestellt.</p>
<p>Das hat immer funktioniert <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /> , kann mir jemand sagen was da falsch läuft!?</p>
<p>Vielen Dank!<br />
Mirko</p>
]]></description><link>https://www.c-plusplus.net/forum/post/809236</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/809236</guid><dc:creator><![CDATA[Nontschew]]></dc:creator><pubDate>Tue, 14 Jun 2005 17:57:08 GMT</pubDate></item><item><title><![CDATA[Reply to Form-&amp;gt;ShowModal() geht nicht mehr!? on Tue, 14 Jun 2005 18:02:21 GMT]]></title><description><![CDATA[<p>Hallo</p>
<blockquote>
<p>Die Form2 steht bei den Optionen-&gt;Formulare bei Verfügbaren Formularen.</p>
</blockquote>
<p>Hat damit nichts zu tun, denn du erstellst ein neues Objekt vom Typ TForm2, das mit dem in der Liste angezeigten nichts zu tun hat.</p>
<blockquote>
<p>Jetzt bekomme ich eine Fehlermeldung:<br />
'Aus einem sichtbaren Fenster kann kein modales gemacht werden.'</p>
</blockquote>
<p>Diese Fehlermeldung kommt, wenn vor dem ShowModal() das Fenster bereits mit Show() angezeigt wird oder die Eigenschaft Visible von TForm2 auf true steht.</p>
<p>Ich rate dir, sinnvolle Namen anstatt der Standardnamen für Controls und Forms zu verwenden.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/809241</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/809241</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Tue, 14 Jun 2005 18:02:21 GMT</pubDate></item><item><title><![CDATA[Reply to Form-&amp;gt;ShowModal() geht nicht mehr!? on Tue, 14 Jun 2005 18:09:35 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>vielen Dank für die Antwort.<br />
Das mit der Form2 war nur als Beispiel gedacht... Bei mir heißt die natürlich anders.</p>
<p>Also, visible steht auf false und das Formular (Form2) wird vorher nicht aufgerufen...</p>
<p>Hast Du noch eine andere Idee? Ich weiß mir keinen Rat mehr!</p>
<p>Vielen Dank<br />
Mirko</p>
]]></description><link>https://www.c-plusplus.net/forum/post/809247</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/809247</guid><dc:creator><![CDATA[Nontschew]]></dc:creator><pubDate>Tue, 14 Jun 2005 18:09:35 GMT</pubDate></item><item><title><![CDATA[Reply to Form-&amp;gt;ShowModal() geht nicht mehr!? on Tue, 14 Jun 2005 18:11:47 GMT]]></title><description><![CDATA[<p>Sorry Akari,</p>
<p>ich habe im falschen Formular geschaut! Visible stand auf TRUE -&gt; jetzt gehts!<br />
Super, vielen Dank!</p>
<p>Mirko</p>
]]></description><link>https://www.c-plusplus.net/forum/post/809251</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/809251</guid><dc:creator><![CDATA[Nontschew]]></dc:creator><pubDate>Tue, 14 Jun 2005 18:11:47 GMT</pubDate></item></channel></rss>