Mirror

More lines in a hint (Views: 43)


Problem/Question/Abstract:

More lines in a hint

Answer:

If you want to display more than a one line in the hint of a component, for example of Button1, set it's property ShowHint to true. In the Object Inspector, don't put anything in Button1's hint property. In the FormCreate event handler of the form that contains Button1, add this line:

Button1.Hint := 'First line' + Chr(13) + 'Second line';

<< Back to main page