<?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 einträge farbig machen.]]></title><description><![CDATA[<p>Hallo,</p>
<p>weiß jemand wie ich :</p>
<pre><code class="language-cpp">ListBox1-&gt;Items-&gt;Strings[i] =  &quot;Fehler: Socket konnte nicht erstellt werden&quot;;
</code></pre>
<p>machen kann das der String also:<br />
Fehler: Socket konnte nicht erstellt werden Rot eingetargen wird ?!??</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/93824/listbox-einträge-farbig-machen</link><generator>RSS for Node</generator><lastBuildDate>Thu, 09 Jul 2026 10:22:17 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/93824.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 03 Dec 2004 07:22:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ListBox einträge farbig machen. on Fri, 03 Dec 2004 07:22:18 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>weiß jemand wie ich :</p>
<pre><code class="language-cpp">ListBox1-&gt;Items-&gt;Strings[i] =  &quot;Fehler: Socket konnte nicht erstellt werden&quot;;
</code></pre>
<p>machen kann das der String also:<br />
Fehler: Socket konnte nicht erstellt werden Rot eingetargen wird ?!??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/664910</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/664910</guid><dc:creator><![CDATA[Listbox]]></dc:creator><pubDate>Fri, 03 Dec 2004 07:22:18 GMT</pubDate></item><item><title><![CDATA[Reply to ListBox einträge farbig machen. on Fri, 03 Dec 2004 07:28:01 GMT]]></title><description><![CDATA[<p>ich meine sowas:</p>
<pre><code class="language-cpp">ListBox1-&gt;Items-&gt;Add(&quot;Verbindung zu localhost!&quot;);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/664913</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/664913</guid><dc:creator><![CDATA[ListBox]]></dc:creator><pubDate>Fri, 03 Dec 2004 07:28:01 GMT</pubDate></item><item><title><![CDATA[Reply to ListBox einträge farbig machen. on Fri, 03 Dec 2004 07:54:04 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">void __fastcall TForm1::Button1Click(TObject *Sender)
{

ListBox1-&gt;Items-&gt;Add(&quot;lalala&quot;);
Index = ListBox1-&gt;Items-&gt;IndexOf(&quot;lalala&quot;);
Index++;
}
</code></pre>
<pre><code class="language-cpp">void __fastcall TForm1::ListBox1DrawItem(TWinControl *Control, int Index,
      TRect &amp;Rect, TOwnerDrawState State)
{
if (Index == 0) ListBox1-&gt;Canvas-&gt;Font-&gt;Color = clBlue;
if (Index == 1) ListBox1-&gt;Canvas-&gt;Font-&gt;Color = clRed;
if (Index == 2) ListBox1-&gt;Canvas-&gt;Font-&gt;Color = clGreen;

ListBox1-&gt;Canvas-&gt;TextRect(Rect, Rect.Left, Rect.Top,ListBox1-&gt;Items-&gt;Strings[Index]);
}
</code></pre>
<p>mfg.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/664920</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/664920</guid><dc:creator><![CDATA[*23*]]></dc:creator><pubDate>Fri, 03 Dec 2004 07:54:04 GMT</pubDate></item><item><title><![CDATA[Reply to ListBox einträge farbig machen. on Fri, 03 Dec 2004 07:57:36 GMT]]></title><description><![CDATA[<p>würde auch mal jemand die FAQ lesen?</p>
<p><a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39191" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic.php?t=39191</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/664922</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/664922</guid><dc:creator><![CDATA[Sunday]]></dc:creator><pubDate>Fri, 03 Dec 2004 07:57:36 GMT</pubDate></item></channel></rss>