Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


hints for disabled components

Posted on 1998-03-05
Medium Priority
Last Modified: 2010-04-06
I have a control that can be disabled. For instance, let it be a button that says "install blah". Now, if a user already has "blah" installed, then this button would be disabled. So far, so good. Now I want the hint for that button to show a text explaining why the button is disabled.

How is this done?
Question by:lowlevel
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
  • 4
  • 2

Expert Comment

ID: 1360088
Euhm. Proposal, I know a way to force to display the hint, but then you still make a way to check if the cursor is above the button. Do you want a new button, which can display two hints?

Author Comment

ID: 1360089
yups :)

Expert Comment

ID: 1360090

I was writing a new component, but then I was realizing that it wasn't such a good idea. What if soembody wanted this also with a TEdit, etc... Than you can start writing a whole bunch of new components.

So I went searching on some tips and what did I found? A component which already does all this and it's freeware....

You can assign the components to the component which have to display a hint when the cursor is over them. Then you can see if the component is disabled, if it is then you just display the hint by this new component.

This is in my opinion the best solution, because I wanted to write such a component too, instead of writing a button with two hints.

You can find the component at :


It's freeware and you can get the source if you mail to the author.

Regards, Zif.

Good luck, and if you need help, just ask!

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.


Expert Comment

ID: 1360091
And LowLevel is it working?

Author Comment

ID: 1360092
this works for delphi 1, but I don't think it works for delphi 3. The reason this took so long is that I contacted the author for the source to modify it to delphi 3. But he never replied :(

Expert Comment

ID: 1360093
Hi lowlevel, I understand he didn't replied to me either. I hoped you had better look while I was waiting. I try to find another solution.

Accepted Solution

Hagen040798 earned 400 total points
ID: 1360094
Hi lowlevel !

One easy way for one Button is you drop a TBevel or TShape on the same position and size back the Button and set the Hint property. When the Button is disabled the Hint from the Bevel is displayed. (Sorry for my english)

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

636 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