<?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[TDBNavigator Glyph ändern]]></title><description><![CDATA[<p>hat jemand eine Idee wie ich bei einem DBNavigator text als auch die bilder verändern kann?</p>
<p>danke</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/174043/tdbnavigator-glyph-ändern</link><generator>RSS for Node</generator><lastBuildDate>Fri, 14 Aug 2026 16:42:15 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/174043.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 22 Feb 2007 13:28:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TDBNavigator Glyph ändern on Thu, 22 Feb 2007 13:28:00 GMT]]></title><description><![CDATA[<p>hat jemand eine Idee wie ich bei einem DBNavigator text als auch die bilder verändern kann?</p>
<p>danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1233290</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1233290</guid><dc:creator><![CDATA[eric steel]]></dc:creator><pubDate>Thu, 22 Feb 2007 13:28:00 GMT</pubDate></item><item><title><![CDATA[Reply to TDBNavigator Glyph ändern on Thu, 22 Feb 2007 18:19:15 GMT]]></title><description><![CDATA[<p>Hab mal was gefunden, aber leider sind danach alle button grau. first.bmp ist 16x16 px groß und eigentlich voller farbiger pixel. kann einer helfen.</p>
<pre><code class="language-cpp">void __fastcall TForm1::ChangeDBNavImage(TDBNavigator *DBnav)
{
int i;
Graphics::TBitmap *tempGlyph;
String ExePath;
/* ChangeDBNavImage */
ExePath = ExtractFilePath(Application-&gt;ExeName);
tempGlyph = new Graphics::TBitmap();
String NAVBUTTON = &quot;TNavButton&quot;;
try
{

for ( i = 0; i &lt; DBnav-&gt;ControlCount; i++ )
{
String button = DBnav-&gt;Controls[i]-&gt;ClassName();

if ( button == NAVBUTTON )
{
TNavButton *nb = (TNavButton *)DBnav-&gt;Controls[i];
switch(nb-&gt;Index)
{
case nbFirst: tempGlyph-&gt;LoadFromFile(ExePath+&quot;first.bmp&quot;); break;
case nbPrior: tempGlyph-&gt;LoadFromFile(ExePath+&quot;first.bmp&quot;); break;
case nbNext: tempGlyph-&gt;LoadFromFile(ExePath+&quot;first.bmp&quot;); break;
case nbLast: tempGlyph-&gt;LoadFromFile(ExePath+&quot;first.bmp&quot;); break;
case nbInsert: tempGlyph-&gt;LoadFromFile(ExePath+&quot;first.bmp&quot;); break;
case nbDelete: tempGlyph-&gt;LoadFromFile(ExePath+&quot;first.bmp&quot;); break;
case nbEdit: tempGlyph-&gt;LoadFromFile(ExePath+&quot;first.bmp&quot;); break;
case nbPost:tempGlyph-&gt;LoadFromFile(ExePath+&quot;first.bmp&quot;); break;
case nbCancel: tempGlyph-&gt;LoadFromFile(ExePath+&quot;first.bmp&quot;); break;
case nbRefresh:tempGlyph-&gt;LoadFromFile(ExePath+&quot;first.bmp&quot;); break;

}
nb-&gt;Glyph = tempGlyph; // &lt;-- Assign the loaded bitmap
}
}//for i
}
__finally
{
delete tempGlyph;
}//try
}//ChangeDBNavImage
//---------------------------------------------------------------------------
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1233565</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1233565</guid><dc:creator><![CDATA[eric steel]]></dc:creator><pubDate>Thu, 22 Feb 2007 18:19:15 GMT</pubDate></item></channel></rss>