<?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[Formular mehrmals öffnen]]></title><description><![CDATA[<p>Ich habe ein ListView feld mit mehreren Einträgen kann auch jedes einzeln anklicken und er soll durch den Klick Form 2 öffnen. Ich möchte wenn ich mehrere Einträge anklicken das er Form 2 mehrmals aufmacht nur mit den Parameter für den jeweiligen eintrag. Danke im vor raus</p>
<p>Praetorianer <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/topic/87172/formular-mehrmals-öffnen</link><generator>RSS for Node</generator><lastBuildDate>Sat, 04 Jul 2026 00:06:55 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/87172.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 27 Sep 2004 08:37:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Formular mehrmals öffnen on Mon, 27 Sep 2004 08:37:50 GMT]]></title><description><![CDATA[<p>Ich habe ein ListView feld mit mehreren Einträgen kann auch jedes einzeln anklicken und er soll durch den Klick Form 2 öffnen. Ich möchte wenn ich mehrere Einträge anklicken das er Form 2 mehrmals aufmacht nur mit den Parameter für den jeweiligen eintrag. Danke im vor raus</p>
<p>Praetorianer <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/615671</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/615671</guid><dc:creator><![CDATA[Praetorianer_33]]></dc:creator><pubDate>Mon, 27 Sep 2004 08:37:50 GMT</pubDate></item><item><title><![CDATA[Reply to Formular mehrmals öffnen on Mon, 27 Sep 2004 09:04:47 GMT]]></title><description><![CDATA[<p>Wenn ich dich richtig verstanden hab:</p>
<p>Dein Programm sollte dafür eine MDI-Anwendung sein.<br />
Onclick musst du dann bei deinem listview immer ein neues MDI-Child erzeugen. Etwa so:</p>
<pre><code>void __fastcall TMainForm::MyListViewClick(TObject *Sender)
{
  CreateMDIChild(this,&quot;Filename&quot;);
}
</code></pre>
<pre><code>void __fastcall TMainForm::CreateMDIChild(TObject *Sender, AnsiString Name)
{
  if (FileExists (Name))
  {
    TForm2 *Child;
    Child = new TForm2(Application);
    Child-&gt;Caption = Name;
    Child-&gt;DoSomething(Name);
  }
}
</code></pre>
<p>Ungetestet.</p>
<p>Gruss</p>
<p>robi1806</p>
]]></description><link>https://www.c-plusplus.net/forum/post/615696</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/615696</guid><dc:creator><![CDATA[robi1806]]></dc:creator><pubDate>Mon, 27 Sep 2004 09:04:47 GMT</pubDate></item></channel></rss>