Recent

Author Topic: Aesthetic in mind: changing clHilight color globally  (Read 1070 times)

polpero

  • Full Member
  • ***
  • Posts: 116
Aesthetic in mind: changing clHilight color globally
« 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?
« Last Edit: April 18, 2021, 01:12:44 am by polpero »

Gald

  • Full Member
  • ***
  • Posts: 107
Re: Aesthetic in mind: changing clHilight color globally
« Reply #1 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?
Lazarus 2.0.12 r64642 FPC 3.2.0 x86_64-win64-win32/win64/Manjaro KDE 21
AMD Ryzen 3 1300X Quad-Core Processor 3.50 GHz / 8,00 GB RAM / GTX 1500 TI / 2TB M.2 NVMe

 

TinyPortal © 2005-2018