<?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[Label Style fsBold]]></title><description><![CDATA[<p>Hi,</p>
<p>ich erstelle ein dynamisches Array von Labels ond möcht da jetzt das die Schrift fett wird. Wie muss ich das machen? habe es so versucht:</p>
<pre><code>for(int i = 0; i &lt; MoTimeLabel.Length; i++)     //Parameter für Labels einstellen
        {
                MoTimeLabel[i] -&gt; Parent = MoBox;
                MoTimeLabel[i] -&gt; Left = 16;
                MoTimeLabel[i] -&gt; Top = 28+32*i;
                MoTimeLabel[i] -&gt; Font -&gt; Style &lt;&lt; fsBold;
                MoTimeLabel[i] -&gt; Caption = &quot;NoTime&quot;;
                MoTimeLabel[i] -&gt; Show();

                if(i%2 == 0)
                {
                        MoTimeLabel[i] -&gt; Font -&gt; Color = EinColor;
                }
                else
                {
                        MoTimeLabel[i] -&gt; Font -&gt; Color = AusColor;
                }
        }
</code></pre>
<p>es funktioniert alles, sogar das mit der Farbe, nicht aber das mit dem fsBold, er ignoriert es einfach.<br />
kann mir jemand helfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/100568/label-style-fsbold</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Jul 2026 09:57:33 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/100568.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 08 Feb 2005 15:36:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Label Style fsBold on Tue, 08 Feb 2005 15:36:14 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>ich erstelle ein dynamisches Array von Labels ond möcht da jetzt das die Schrift fett wird. Wie muss ich das machen? habe es so versucht:</p>
<pre><code>for(int i = 0; i &lt; MoTimeLabel.Length; i++)     //Parameter für Labels einstellen
        {
                MoTimeLabel[i] -&gt; Parent = MoBox;
                MoTimeLabel[i] -&gt; Left = 16;
                MoTimeLabel[i] -&gt; Top = 28+32*i;
                MoTimeLabel[i] -&gt; Font -&gt; Style &lt;&lt; fsBold;
                MoTimeLabel[i] -&gt; Caption = &quot;NoTime&quot;;
                MoTimeLabel[i] -&gt; Show();

                if(i%2 == 0)
                {
                        MoTimeLabel[i] -&gt; Font -&gt; Color = EinColor;
                }
                else
                {
                        MoTimeLabel[i] -&gt; Font -&gt; Color = AusColor;
                }
        }
</code></pre>
<p>es funktioniert alles, sogar das mit der Farbe, nicht aber das mit dem fsBold, er ignoriert es einfach.<br />
kann mir jemand helfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/717833</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/717833</guid><dc:creator><![CDATA[wedmer]]></dc:creator><pubDate>Tue, 08 Feb 2005 15:36:14 GMT</pubDate></item><item><title><![CDATA[Reply to Label Style fsBold on Tue, 08 Feb 2005 15:57:49 GMT]]></title><description><![CDATA[<p>Probiers doch mal mit folgenden Zeilen (Erzeugen eines TFontStyle-Objektes MyStyle):</p>
<p>TFontStyles MyStyle;<br />
MyStyle &lt;&lt; fsBold;<br />
Label1-&gt;Font-&gt;Style = MyStyle;</p>
<p>Viel Spaß</p>
]]></description><link>https://www.c-plusplus.net/forum/post/717852</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/717852</guid><dc:creator><![CDATA[NoMi]]></dc:creator><pubDate>Tue, 08 Feb 2005 15:57:49 GMT</pubDate></item><item><title><![CDATA[Reply to Label Style fsBold on Tue, 08 Feb 2005 17:22:05 GMT]]></title><description><![CDATA[<p>Hat geklappt danke schön</p>
]]></description><link>https://www.c-plusplus.net/forum/post/717971</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/717971</guid><dc:creator><![CDATA[wedmer]]></dc:creator><pubDate>Tue, 08 Feb 2005 17:22:05 GMT</pubDate></item><item><title><![CDATA[Reply to Label Style fsBold on Tue, 08 Feb 2005 17:31:38 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">Label1-&gt;Font-&gt;Style = Label1-&gt;Font-&gt;Style &lt;&lt; fsBold;
</code></pre>
<p>Siehe auch die <a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39305" rel="nofollow">FAQ</a> zum &quot;Umgang mit Set&quot;.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/717981</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/717981</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Tue, 08 Feb 2005 17:31:38 GMT</pubDate></item></channel></rss>