Lazarus

Programming => LCL => Topic started by: polpero on April 17, 2021, 07:25:33 pm

Title: Aesthetic in mind: changing clHilight color globally
Post by: polpero on April 17, 2021, 07:25:33 pm
Hi

Would there be a way, in a Laz application,
to change the OS hilight color (ie on Windows) globally,
for all the components using this property,
rather than having to override the DefaultDraw method
and define an onDraw event for each one?

In other words, i've got an application using ListBoxes, StringGrids, Edits, etc...
for which  a local color palette (or theme) has been established
with which the OS hilight color doesn't match...
I don't want to change my desktop theme colors,
just that hilight color on the application's level...

any idea ...,
am i missing something?
Title: Re: Aesthetic in mind: changing clHilight color globally
Post by: Gald on March 01, 2022, 05:59:00 pm
I'm bumping this old thread because it's unique on the forum and has no answers yet.
There's no way to do this, change the OS hilight color (ie on Windows) globally?

Also,

"rather than having to override the DefaultDraw method"

How to do it?
TinyPortal © 2005-2018