Posts

Showing posts with the label Hint

TBalloonHint in Delphi

Image
Here in this blog, I will explain how to display hints using the TBalloonHint component. Balloon hints simply display a hints then disappear after a short period of time. BalloonHint component is added to show hint in balloon style. TBalloonHint typically has a  bhsBalloon  style property which defines style of hint. Title and Description property is used for hint Title and hint description. Properties Delay Specifies the delay before displaying the hint. Description Provides the description of a hint HideAfter Specifies the time to wait before hiding the hint. ImageIndex Specifies the index in the image list. Images Specifies the list of images that can be displayed with the hint. ShowingHint Specifies whether the hint is displayed. Style Specifies the style of the custom hint. Title Specifies the hin...

Hints or Tool Tips in Delphi Application

Image
Hints, we also call Tool Tips are used to show some information related to an action for Users. By default it displays in a separate yellow color window  when we move mouse on buttons, menus etc. But we can create our own customized Hint also. So in this blog I will give a brief idea about use of Hints  in our Delphi application. We will also check how to customize or create a new Hint as per our requirement. Display Hint for individual Controls In Delphi every run time visible component/control and form has 2 main properties Hint and ShowHint which are used to display Hints.  Hint property is Sting type used to set the Hint text.  ShowHint is Boolean type used to whether display hint or not. Here I created a form and put some controls on that. And I set Hint and Showhint property for Button at design time. Now at run time we can see the hint when we move mouse on button as follow We can set the same properties for other controls in code als...