<?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[Problem mit ListBox]]></title><description><![CDATA[<p>Ich möchte eine listbox durchlaufen um zu schauen, ob der entsprechende Eintrag schon vorhanden ist...ich nutze dabei folgenden code:</p>
<pre><code>for(int s=0;s&lt;ListBox1-&gt;Count;s++)
   {
    if(ListBox1-&gt;Items[s] == k-&gt;Ordner)
    {
     gefunden=true;
    }
   }
</code></pre>
<p>k ist eine einfach verkettete Liste mit der Eigenschaft Ordner vom typ String.<br />
Es tritt beim Compilieren jedesmal folgender Fehler auf:</p>
<blockquote>
<p>[C++ Fehler] Unit1.cpp(309): E2094 'operator==' ist im Typ 'TStrings' für Argumente des Typs 'AnsiString' nicht implementiert</p>
</blockquote>
<p>Bitte um schnelle Hilfe, da ich mit dem Fehlercode nichts anfangen kann.</p>
<p>Vielen dank</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/157677/problem-mit-listbox</link><generator>RSS for Node</generator><lastBuildDate>Mon, 10 Aug 2026 12:40:08 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/157677.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 28 Aug 2006 14:03:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem mit ListBox on Mon, 28 Aug 2006 14:03:32 GMT]]></title><description><![CDATA[<p>Ich möchte eine listbox durchlaufen um zu schauen, ob der entsprechende Eintrag schon vorhanden ist...ich nutze dabei folgenden code:</p>
<pre><code>for(int s=0;s&lt;ListBox1-&gt;Count;s++)
   {
    if(ListBox1-&gt;Items[s] == k-&gt;Ordner)
    {
     gefunden=true;
    }
   }
</code></pre>
<p>k ist eine einfach verkettete Liste mit der Eigenschaft Ordner vom typ String.<br />
Es tritt beim Compilieren jedesmal folgender Fehler auf:</p>
<blockquote>
<p>[C++ Fehler] Unit1.cpp(309): E2094 'operator==' ist im Typ 'TStrings' für Argumente des Typs 'AnsiString' nicht implementiert</p>
</blockquote>
<p>Bitte um schnelle Hilfe, da ich mit dem Fehlercode nichts anfangen kann.</p>
<p>Vielen dank</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1126183</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1126183</guid><dc:creator><![CDATA[bennnny]]></dc:creator><pubDate>Mon, 28 Aug 2006 14:03:32 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit ListBox on Mon, 28 Aug 2006 14:21:26 GMT]]></title><description><![CDATA[<p>Richtig ist:</p>
<pre><code class="language-cpp">if(ListBox1-&gt;Items-&gt;Strings[s] == k-&gt;Ordner)
{
   gefunden=true;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1126196</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1126196</guid><dc:creator><![CDATA[Th]]></dc:creator><pubDate>Mon, 28 Aug 2006 14:21:26 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit ListBox on Mon, 28 Aug 2006 14:34:18 GMT]]></title><description><![CDATA[<p>Man kann die Schleife auch noch wegrationalisieren.</p>
<pre><code class="language-cpp">if(ListBox1-&gt;Items-&gt;IndexOf(k-&gt;Ordner)!=-1)
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1126202</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1126202</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Mon, 28 Aug 2006 14:34:18 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit ListBox on Mon, 28 Aug 2006 14:43:10 GMT]]></title><description><![CDATA[<p>also vielen dank, das klappt!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1126205</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1126205</guid><dc:creator><![CDATA[bennnny]]></dc:creator><pubDate>Mon, 28 Aug 2006 14:43:10 GMT</pubDate></item></channel></rss>