<?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[TStringGrid-Zellen markieren]]></title><description><![CDATA[<p>Hallo ich hab da mal eine Frage zum Zellen markieren in einem StringGrid. Angenommen ich habe mein StringGrid und selektiere darin eine Zelle, dann würde ich doch mit dem Ereignis StringGrid1SelectCells weitermachen. Doch wie bekomme ich in der Funktion jetzt, dass ich, wenn ich eine Zelle markiere, die komplette Zeile markiert wird (nach Möglichkeit mit Farbe)??</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/76124/tstringgrid-zellen-markieren</link><generator>RSS for Node</generator><lastBuildDate>Sun, 28 Jun 2026 19:55:19 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/76124.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 08 Jun 2004 06:25:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TStringGrid-Zellen markieren on Tue, 08 Jun 2004 06:25:21 GMT]]></title><description><![CDATA[<p>Hallo ich hab da mal eine Frage zum Zellen markieren in einem StringGrid. Angenommen ich habe mein StringGrid und selektiere darin eine Zelle, dann würde ich doch mit dem Ereignis StringGrid1SelectCells weitermachen. Doch wie bekomme ich in der Funktion jetzt, dass ich, wenn ich eine Zelle markiere, die komplette Zeile markiert wird (nach Möglichkeit mit Farbe)??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/535673</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/535673</guid><dc:creator><![CDATA[neu84]]></dc:creator><pubDate>Tue, 08 Jun 2004 06:25:21 GMT</pubDate></item><item><title><![CDATA[Reply to TStringGrid-Zellen markieren on Tue, 08 Jun 2004 06:30:33 GMT]]></title><description><![CDATA[<p>Wenn grundsätzlich die ganze Zeile markiert werden soll, dann setze bei den Eigenschaften des StringGrids unter Options die Eigenschaft goRowSelect auf true.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/535677</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/535677</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Tue, 08 Jun 2004 06:30:33 GMT</pubDate></item><item><title><![CDATA[Reply to TStringGrid-Zellen markieren on Tue, 08 Jun 2004 06:39:44 GMT]]></title><description><![CDATA[<p>Ja danke, hatte ich auch gerade gefunden!</p>
<p>Noch eine Frage, wie schalte ich aus, dass am Beginn bzw. noch nicht am laufen, dass eine Feld, was blau markiert ist,nicht mehr da ist. Also ich will anfangs ein komplett leeres StringGrid ohne Markierung!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/535680</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/535680</guid><dc:creator><![CDATA[neu84]]></dc:creator><pubDate>Tue, 08 Jun 2004 06:39:44 GMT</pubDate></item><item><title><![CDATA[Reply to TStringGrid-Zellen markieren on Tue, 08 Jun 2004 07:05:39 GMT]]></title><description><![CDATA[<p>und wie lösche ich den Inhalt einer ausgewählten Zelle?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/535696</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/535696</guid><dc:creator><![CDATA[neu84]]></dc:creator><pubDate>Tue, 08 Jun 2004 07:05:39 GMT</pubDate></item><item><title><![CDATA[Reply to TStringGrid-Zellen markieren on Tue, 08 Jun 2004 07:18:29 GMT]]></title><description><![CDATA[<p>neu84 schrieb:</p>
<blockquote>
<p>... wie schalte ich aus, dass am Beginn bzw. noch nicht am laufen, dass eine Feld, was blau markiert ist,nicht mehr da ist. Also ich will anfangs ein komplett leeres StringGrid ohne Markierung!</p>
</blockquote>
<p>Das geht m.E. nicht, ohne dass man das gesamte Zeichnen des Grids selbst übernimmt.</p>
<p>neu84 schrieb:</p>
<blockquote>
<p>und wie lösche ich den Inhalt einer ausgewählten Zelle?</p>
</blockquote>
<pre><code class="language-cpp">StringGrid1-&gt;Cells[StringGrid1-&gt;Row][StringGrid1-&gt;Col] = &quot;&quot;;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/535705</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/535705</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Tue, 08 Jun 2004 07:18:29 GMT</pubDate></item><item><title><![CDATA[Reply to TStringGrid-Zellen markieren on Tue, 08 Jun 2004 07:20:59 GMT]]></title><description><![CDATA[<p>ok danke schön!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/535707</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/535707</guid><dc:creator><![CDATA[neu84]]></dc:creator><pubDate>Tue, 08 Jun 2004 07:20:59 GMT</pubDate></item><item><title><![CDATA[Reply to TStringGrid-Zellen markieren on Tue, 08 Jun 2004 08:04:32 GMT]]></title><description><![CDATA[<p>Wenn gar nichts markiert sein soll, kannst du die Selection auf -1 setzen (also Top, Bottom, Right, Left).<br />
etwa so:</p>
<pre><code class="language-cpp">TGridRect myRect;
  myRect.Left = -1;
  myRect.Top = -1;
  myRect.Right = -1;
  myRect.Bottom = -1;
  StringGrid-&gt;Selection = myRect;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/535740</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/535740</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Tue, 08 Jun 2004 08:04:32 GMT</pubDate></item><item><title><![CDATA[Reply to TStringGrid-Zellen markieren on Tue, 08 Jun 2004 08:14:05 GMT]]></title><description><![CDATA[<p>danke dir!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/535747</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/535747</guid><dc:creator><![CDATA[neu84]]></dc:creator><pubDate>Tue, 08 Jun 2004 08:14:05 GMT</pubDate></item></channel></rss>