In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Brush not Applying in Explorer Bar - TPanel/TBevel/TScrollBox

Xailer English public forum
Responder
aross
Mensajes: 24
Registrado: Vie Jul 28, 2006 1:38 am

Brush not Applying in Explorer Bar - TPanel/TBevel/TScrollBox

Mensaje por aross »

With XP Theme off, I tried to replace the Windows Default ugly, dark gray
"InactiveCaption..." color for a TPanel object in an Explorer bar. The color
changes in the IDE, but when you run the application, it doesn't change.
Also, if you exit Xailer and return, the old color is back to
"InactiveCaption..." Same for TBevel *and* TScrollBox. In other words, the
color change is not "sticking."
aross
Mensajes: 24
Registrado: Vie Jul 28, 2006 1:38 am

Brush not Applying in Explorer Bar - TPanel/TBevel/TScrollBox

Mensaje por aross »

I forgot to mention, I am using the TBrush setting, not the nClrPane
setting. It does change using the nClrPane setting, but I want a custom
color. I'm guessing the intended way this should work is that a TBrush
should override the nClrPane setting, no?
"Andrew W. Ross" <aross@ssctv.net> wrote in message
news:[email=44d36212@news.xailer.com...]44d36212@news.xailer.com...[/email]
> With XP Theme off, I tried to replace the Windows Default ugly, dark gray
> "InactiveCaption..." color for a TPanel object in an Explorer bar. The
> color changes in the IDE, but when you run the application, it doesn't
> change. Also, if you exit Xailer and return, the old color is back to
> "InactiveCaption..." Same for TBevel *and* TScrollBox. In other words, the
> color change is not "sticking."
>
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5706
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Brush not Applying in Explorer Bar - TPanel/TBevel/TScrollBox

Mensaje por jfgimenez »

Andrew,
>I forgot to mention, I am using the TBrush setting, not the nClrPane
>setting. It does change using the nClrPane setting, but I want a custom
>color. I'm guessing the intended way this should work is that a TBrush
>should override the nClrPane setting, no?
If you want a custom color, just double-click on the nClrPane property from
the object inspector. The nClrPane property is always prefirable over the
oBrush property, which is sometimes ignored by the control.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Responder