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 XE5 Firemonkey Mouse Hints Windows OSXDeveloper 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
AndroidC++BuilderCode SnippetDelphiDemoFiremonkeyIOSOSXShowcaseWindows

Powerful Cross Platform Email App Sample In Delphi 10.4.1 FireMonkey For Android And IOS

AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

Significant Update Available For Delphi FireMonkey 10.4.1 On Android, IOS, OSX, Windows, And Linux

C++BuilderDelphiIDEWindows

Professional SVG Icon Image List For Delphi 10.4 FireMonkey On Windows

AndroidC++BuilderDelphiFiremonkeyIOSLiveBindingsOSXWindows

Top Tips And Tricks To Speed Up Development With Delphi 10.4 FireMonkey On Android and IOS

Sign up for our Newsletter and
stay informed

Leave a Reply