<?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[ListBox selektierten Text auslesen (war: Immernoch ein Problem)]]></title><description><![CDATA[<p>Hi<br />
ich bekomms immer noch nicht zum laufen,</p>
<p>Ich will bei tlistbox den selektierten text herausbekommen</p>
<p>so siehts bisher bei mir aus</p>
<pre><code class="language-cpp">for (int i = 0; i &lt; ListBox1-&gt;Items-&gt;Count; ++i)
  { 
    if (ListBox1-&gt;Selected[i]) 
    {
        TIniFile *realm;
        realm = new TIniFile (&quot;realmlist.wtf&quot;);
        realm-&gt;WriteString(NULL, NULL, &quot;set realmlist&quot; + ListBox1-&gt;Selected[i]-&gt;Text);
    }
  }
</code></pre>
<p>Fehler</p>
<pre><code>[C++ Fehler] rw.cpp(48): E2288 Zeiger auf Struktur auf linker Seite von -&gt; oder von -&gt;* erforderlich*
</code></pre>
<p>Danke im voraus</p>
<p><strong>Edit:</strong><br />
Bitte aussagekräftige Überschriften wählen. Danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/104712/listbox-selektierten-text-auslesen-war-immernoch-ein-problem</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Jul 2026 22:09:28 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/104712.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 22 Mar 2005 16:05:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ListBox selektierten Text auslesen (war: Immernoch ein Problem) on Tue, 22 Mar 2005 18:14:20 GMT]]></title><description><![CDATA[<p>Hi<br />
ich bekomms immer noch nicht zum laufen,</p>
<p>Ich will bei tlistbox den selektierten text herausbekommen</p>
<p>so siehts bisher bei mir aus</p>
<pre><code class="language-cpp">for (int i = 0; i &lt; ListBox1-&gt;Items-&gt;Count; ++i)
  { 
    if (ListBox1-&gt;Selected[i]) 
    {
        TIniFile *realm;
        realm = new TIniFile (&quot;realmlist.wtf&quot;);
        realm-&gt;WriteString(NULL, NULL, &quot;set realmlist&quot; + ListBox1-&gt;Selected[i]-&gt;Text);
    }
  }
</code></pre>
<p>Fehler</p>
<pre><code>[C++ Fehler] rw.cpp(48): E2288 Zeiger auf Struktur auf linker Seite von -&gt; oder von -&gt;* erforderlich*
</code></pre>
<p>Danke im voraus</p>
<p><strong>Edit:</strong><br />
Bitte aussagekräftige Überschriften wählen. Danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/750473</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/750473</guid><dc:creator><![CDATA[majin]]></dc:creator><pubDate>Tue, 22 Mar 2005 18:14:20 GMT</pubDate></item><item><title><![CDATA[Reply to ListBox selektierten Text auslesen (war: Immernoch ein Problem) on Tue, 22 Mar 2005 16:24:35 GMT]]></title><description><![CDATA[<p>?????????????????<br />
ListBox1-&gt;Items-&gt;Strings[ListBox1-&gt;ItemIndex]<br />
????????????????? <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>
]]></description><link>https://www.c-plusplus.net/forum/post/750490</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/750490</guid><dc:creator><![CDATA[DerAltenburger]]></dc:creator><pubDate>Tue, 22 Mar 2005 16:24:35 GMT</pubDate></item><item><title><![CDATA[Reply to ListBox selektierten Text auslesen (war: Immernoch ein Problem) on Tue, 22 Mar 2005 16:27:31 GMT]]></title><description><![CDATA[<p>Schau mal in die Hilfe zu TListBox::Selected und TListBox::Items. Desweiteren würde ich die Erzeugung des Inifiles aus der Schleife nehmen. Sonst erzeugst du bei Mehrfachselektionen mehrere Pointer.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/750491</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/750491</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Tue, 22 Mar 2005 16:27:31 GMT</pubDate></item><item><title><![CDATA[Reply to ListBox selektierten Text auslesen (war: Immernoch ein Problem) on Tue, 22 Mar 2005 16:41:44 GMT]]></title><description><![CDATA[<p>Danke Altenburgee !!!</p>
<p>Funzt jetzt</p>
]]></description><link>https://www.c-plusplus.net/forum/post/750504</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/750504</guid><dc:creator><![CDATA[majin]]></dc:creator><pubDate>Tue, 22 Mar 2005 16:41:44 GMT</pubDate></item><item><title><![CDATA[Reply to ListBox selektierten Text auslesen (war: Immernoch ein Problem) on Tue, 22 Mar 2005 17:38:35 GMT]]></title><description><![CDATA[<p>Beachte unbedingt</p>
<p>Braunstein!!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/750559</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/750559</guid><dc:creator><![CDATA[DerAltenburger]]></dc:creator><pubDate>Tue, 22 Mar 2005 17:38:35 GMT</pubDate></item></channel></rss>