Activate Popup Hints

Question:
I want to activate those small popup windows (the ones that appear when you hold your mouse over a program icon in the Taskbar to tell you what appears in your title bar) on parts of my applications. I’d like to do it in the Taskbar as well as with buttons in my program. I am using Delphi 2.

Answer:
All visual components have a property called Hint where you write the text for a hint and ShowHint, which is a Boolean telling the program to show the hint or not when the mouse pointer is over the area of the component. All you need to do is write your hint text and set ShowHint to True, and you should see the popup hint come to life.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: