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?
TinyPortal © 2005-2018