Mega Code Archive

 
Categories / Delphi / Examples
 

Long and short hints

What is a long/short hint ? When you set the hint property of a component, you can create it in two parts : The short part|The part that can be longer If you set the ShowHint property to TRUE, your application will show a tooltip with the short (first) part of the hint only and you can catch the hint in the TApplication.OnHint or TApplication.OnShowHint and using GetLongHint show a longer message in the Statusbar for instance