TMSFNCHint Line break

Dear friends.

I am using the TMSFNCHint component to display context-sensitive help. When using it in my application it displays the help always in a single line of text ignoring line breaks. Is there any way to be able to display a text with line breaks?

button1.Hint :=  'Help line 1 ' + Slinebreak + 
                 'Help line 2' +  Slinebreak +  
                 'Help line 3';

Hintbreak

Hi,

You can use <BR> instead, it accepts HTML formatted text.

Thank you Pieter for your clarification. It might be interesting to include a simple switch to use the component in non-HTML format, so it would be even easier to inherit classic code.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.