-1

Is it possible to programmatically change the brightness of a C++ Builder/Delphi styled application, without actually changing the style and loading it back in real time? Could not find anything like a master brightness setting. Note I do not want to change the brightness of the entire screen, just the styled elements in my application (like Adobe does).

Update: referring to VCL, not FMX.

Mike Versteeg
  • 1,615
  • 14
  • 28

1 Answers1

2

I'm not sure if this would work for you, but could you use a TContrastEffect? It has both a brightness and contrast property that should affect the object it's parented to and it's children when adjusted.

SmeTheWiz
  • 210
  • 1
  • 8