Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

AndroidAppmethodCode SnippetDelphiDemoFiremonkeyOSXWindows

Implement Mouse Over Hints In Delphi XE5 Firemonkey On Windows And OSX

| Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOS

Delphi XE5 Firemonkey Mouse Hints Windows OSX | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOSDeveloper Harry Stahl from Hastasoft a video showing how to add hints to Delphi XE5 Firemonkey using a utility unit he wrote. The video is in German but you should still be able to follow along if you need to or just download the unit and implement it. Basically how the unit works is that it hooks into TButton, TSpeedButton, and TLabel and ads hint functionality. There is a InitHintSettings function which you call to set up the hints and then you can set hints on the objects where you want them. It uses a TCalloutRectangle to implement the hints. You can customize the look and color of the hints by setting various TCalloutRectangle properties. Obviously since most mobile devices do not have a mouse this hint unit is targeted towards Windows and OSX desktops. A Timer and OnMouseEnter/OnMouseLeave events are implemented to handle the actually mouse cursor detection. There are probably some changes that need to be made to have this unit work under Delphi XE6 and AppMethod.

Head over and watch the video for yourself where Harry demonstrates the Firemonkey hints unit. And head over to his download page and download the unit.

Or download the Firemonkey hints unit from this mirror.


Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts

Unleashing Creativity With Song Writer AI: A Deep Dive


How To Build Stable Diffusion Text To Image Prompts


FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes


Ryzen 9 5950x: One Billion Lines Of Delphi Code Compiled In ~5 Minutes On 16 Cores

Sign up for our Newsletter and
stay informed

Leave a Reply