size TMSFMXHTMLText

I want to place the text with formatting in TMSFMXHTMLText. The size of the text will be different and in advance not known. TMSFMXHTMLText will lie on the form and aling property = client. How to learn the TMSFMXHTMLText size which will turn out after an insertion in a component what to expand the form to the necessary length and width?

Hi, 


You can use the GetTextWidth and GetTextHeight functions.

That that is necessary!