<?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[Gibt es &amp;quot;Softwarelampen&amp;quot;?]]></title><description><![CDATA[<p>hi zusammen,<br />
kann ich ein bestimmtes Ereignis über eine Art Softwarelampen visuell anzeigen lassen? Bsp: Farbe eines Labels ändern bei Ereignis oder so? Nur eben nicht als Label oder Radiobutton bzw Checkbox.</p>
<p>mfg</p>
<p>schmiggy</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/123463/gibt-es-quot-softwarelampen-quot</link><generator>RSS for Node</generator><lastBuildDate>Mon, 27 Jul 2026 10:21:25 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/123463.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 17 Oct 2005 09:58:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Gibt es &amp;quot;Softwarelampen&amp;quot;? on Mon, 17 Oct 2005 09:58:50 GMT]]></title><description><![CDATA[<p>hi zusammen,<br />
kann ich ein bestimmtes Ereignis über eine Art Softwarelampen visuell anzeigen lassen? Bsp: Farbe eines Labels ändern bei Ereignis oder so? Nur eben nicht als Label oder Radiobutton bzw Checkbox.</p>
<p>mfg</p>
<p>schmiggy</p>
]]></description><link>https://www.c-plusplus.net/forum/post/893970</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/893970</guid><dc:creator><![CDATA[schmiggy]]></dc:creator><pubDate>Mon, 17 Oct 2005 09:58:50 GMT</pubDate></item><item><title><![CDATA[Reply to Gibt es &amp;quot;Softwarelampen&amp;quot;? on Mon, 17 Oct 2005 11:26:54 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ja gibt es indirekt, einfach ein ImageControl anlegen und 2 Bitmaps<br />
(z.B. über ImageList zuordnen):</p>
<pre><code class="language-cpp">o1=FileExists(z1);i1=12;                                                        // File ok?, Voreinstellung rote LED
 frm1_imgPlan-&gt;Visible=o1;                                                      // Control zeigen/verbergen
 frm1_imgPlan-&gt;Enabled=o1;                                                      // Control sperren/freigeben
 if(o1==true) { i1=10; }                                                        // File da, dann grüne LED laden
 //ShowMessage(BoolToStr(o1)+&quot;\r\r&quot;+IntToStr(i1));

 frm1_ImageList1-&gt;GetBitmap(i1,frm1_imgGrafNo-&gt;Picture-&gt;Bitmap);                // aus Imageliste nach index i1 neu zuordnen
 frm1_imgGrafNo-&gt;Refresh();                                                     // und neu zeichnen
</code></pre>
<p>Ich habe in der ImageList unter i1=12 die rote LED, und unter<br />
i1=10 die grüne LED. Hier ein Beispiel auf dem Screenhot unterhalb der Liste:<br />
<a href="http://www.mtek-software.de/html/netcat_helpdesk_2.html" rel="nofollow">http://www.mtek-software.de/html/netcat_helpdesk_2.html</a></p>
<p>Vorteil: Man kann beliebige Farben (Mehfache Zustandsanzeige) für das<br />
Image nutzen (z.B. grün, dunkelgrün, gelb, rot usw.)</p>
<p>Das Image heisst frm1_imgGrafNo;<br />
die ImageList=frm1_ImageList1</p>
<p>Gruss Stefan Scholz<br />
m.tek software GmbH</p>
]]></description><link>https://www.c-plusplus.net/forum/post/894015</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/894015</guid><dc:creator><![CDATA[Stefan71242]]></dc:creator><pubDate>Mon, 17 Oct 2005 11:26:54 GMT</pubDate></item><item><title><![CDATA[Reply to Gibt es &amp;quot;Softwarelampen&amp;quot;? on Mon, 17 Oct 2005 11:41:03 GMT]]></title><description><![CDATA[<p>@ Stefan</p>
<p>wau, das ist gut. Danke schön</p>
<p>Noch eine Frage. Die 2 Images hast du selber gemalt oder wo bekommt man die?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/894046</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/894046</guid><dc:creator><![CDATA[schmiggy]]></dc:creator><pubDate>Mon, 17 Oct 2005 11:41:03 GMT</pubDate></item><item><title><![CDATA[Reply to Gibt es &amp;quot;Softwarelampen&amp;quot;? on Mon, 17 Oct 2005 12:01:21 GMT]]></title><description><![CDATA[<p>Ja, habe mir alle Farben jeweils hell und dunkel angelegt.</p>
<p>Gibt mir eine Emailadresse, dann schicke ich sie Dir zu</p>
<p>MfG Stefan Scholz<br />
m.tek software GmbH<br />
<a href="http://www.mtek-software.de" rel="nofollow">www.mtek-software.de</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/894057</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/894057</guid><dc:creator><![CDATA[Stefan71242]]></dc:creator><pubDate>Mon, 17 Oct 2005 12:01:21 GMT</pubDate></item></channel></rss>