TRichEdit removes images when TRichEdit.ReadOnly = True
When trying to load an RTF file using RichEdit.Lines.LoadFromFile(FileName) and RichEdit.ReadOnly = True the RichEdit removes all images from the RTF file showing an empty placeholder. Solution: The solution is to call these methods in this specific order with these specific parameters: procedure TForm2.FormCreate(Sender: TObject); begin // Must be False RichEdit.ReadOnly:= FALSE; // This is […]
TRichEdit removes images when TRichEdit.ReadOnly = True Read More »


