Página 1 de 1
Brush not Applying in Explorer Bar - TPanel/TBevel/TScrollBox
Publicado: Vie Ago 04, 2006 5:04 pm
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."
Brush not Applying in Explorer Bar - TPanel/TBevel/TScrollBox
Publicado: Vie Ago 04, 2006 5:28 pm
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."
>
Brush not Applying in Explorer Bar - TPanel/TBevel/TScrollBox
Publicado: Lun Ago 07, 2006 1:19 pm
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