Tech or Treat! Write an article about your scariest tech disaster to win gadgets!Learn more


screen brightness control

Posted on 2003-12-09
Medium Priority
Last Modified: 2010-04-05

How can I control the brightness of the screen with Delphi?

Best Regards

Question by:libbysharf
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 17

Expert Comment

by:Wim ten Brink
ID: 9905325
Doesn't that depend on the screen driver and Windows version that you have available?

Accepted Solution

delphized earned 400 total points
ID: 9907201
Normally is a hardware question...
in the games where you change the brightness it  is changed in the image shown, not in the hardware settings. So you could change your program's colours to make it appear brighter or darker.
The same is valid for the brightness setting of some video drivers (it is only apparent)

Author Comment

ID: 9910515
I have an application written in Delphi, and I want to add a dimmer bar, so that the brightness of all the forms and components on them could be changed.

Expert Comment

ID: 9911358
you could change at runtime the color property of your form and components, and
use RGB( ) function to dimmer the brightness, but not every control support the color property, so you have to choose the right components to use.
  brightness:=(whatyouwant in 0..255)
  //and the same for all your components

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

647 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question