MultiLine Hints

A quick tip hot to put more than one line y the hint property

Here is a quick tip!



If you want to have more than a single line hint on a control,

for example in a button, put it's ShowHint property to true but

don't put anything in it's hint property. Then, in the FormCreate

event of the form just do this:



procedure TForm1.FormCreate(Sender: TObject);

begin

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

End;

 

Share this article!

Follow us!

Find more helpful articles: