FFREDIANELLI Posted April 26, 2019 Share Posted April 26, 2019 Please some help, , when i create the unihtmlmemo on runtime , the height take no effect it have allways only one line and it sas that ssboth is undefined... mm := TUniHTMLMemo.Create(MainForm); with mm do begin Name := 'mm_' + inttostr(UniMainModule.UserInfo.pulsetag) + '_' + 'Seq' + UniMainModule.qMensagensseq.AsString; Parent := m1; Left := 21; top := 0; align := altop; Width := 600; Height := 200; showtoolbar := false; hint := ''; ScrollBars := ssboth; lines.Clear; ParentFont := false; Color := 14998230; TabOrder := 0; tag := UniMainModule.qMensagensseq.value; lines.assign(UniMainModule.qMensagensobs); readonly := false; end; Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 27, 2019 Share Posted April 27, 2019 17 hours ago, FFREDIANELLI said: Please some help, , when i create the unihtmlmemo on runtime , the height take no effect it have allways only one line and it sas that ssboth is undefined... Hi, Can you make a simple testcase for this? Quote Link to comment Share on other sites More sharing options...
FFREDIANELLI Posted April 27, 2019 Author Share Posted April 27, 2019 Thanks for the help, 1. My mistake , i'm creating unihtmlmemo inside a collapsible panel that obviously will not grow up to accomodate the new component inside, i have to adjust the size of the panel programmaticaly too with the size of the unihtmlmemo...sorry. 2. I will let unihtmlmemo with a fixed size, and let scroll bars to the job if the content is to big, this is my problem now ,if i put the command to show bars it not compile Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 27, 2019 Share Posted April 27, 2019 9 minutes ago, FFREDIANELLI said: 2. I will let unihtmlmemo with a fixed size, and let scroll bars to the job if the content is to big, this is my problem now ,if i put the command to show bars it not compile Add to Uses list: uses ..., StdCtrls; Quote Link to comment Share on other sites More sharing options...
FFREDIANELLI Posted April 27, 2019 Author Share Posted April 27, 2019 It worked. Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.