2010. június 3., csütörtök

More lines in a hint


More lines in a hint


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';

Nincsenek megjegyzések:

Megjegyzés küldése