Jump to content

TUniHTMLMemo : GetHeight to AutoSize Panel and Form


Recommended Posts



I have an TUniForm to view a HTML message in a TUniHTMLMemo (readOnly + without scroll + WordWarp).


The form has a fix width but variable height to autosize.


So, i would like to calculate the height of the Form depending on the content of the message.


How can i do that ?

I tried with Lines.count but a long message without "< br >" code is staying = 1 !





Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...