INDODELPHI

Blog’s Tutorial Delphi – Reference from Onez Delphi Explorer

MORE LINES IN A HINT

// ******************************************************************
// MORE LINES IN A HINT
// Category        : Hint/ToolTip
// Author          : Studiebureau Festraets
// Author Email    :
// Author Web      : http://www.festra.com/eng/index.html
// Tips Website    : Delphi Land
// Tips Website URL: http://www.festra.com/eng/index.html
// ******************************************************************

{
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’;
}

November 6, 2007 - Posted by maulaku | Application - Hint / Tool Tips | | No Comments Yet

No comments yet.

Leave a comment