I have logic where I am trying to merge html from one source into a memo which contains HTML text:
Code
procedure tdmSME.MergeHTML(theEdit : twpCustomRTFEdit; theString : string);
var
x : integer;
begin
x := theEdit.CPPosition;
theEdit.SelectionAsString := theString;
theEdit.CPPosition := x; theEdit.InputSection([wpsec_ResetOutlineNums,wpsec_ResetPageNumber]);
// theEdit.ReformatAll(true, true);
end;
but it's not showing in my screen.
note : theString starts and ends with the <html></html> tags.
any help?