+ TDBRichViewEdit v14.2.7
+ Delphi 10.2.3 Tokyo
I have a RTF document that has text and checkboxes in it. However, when I import the document into a RichViewEdit, the text imports correctly but the checkboxes are lost.
This is the code:
Code: Select all
DBRichViewEdit1.Clear;
DBRichViewEdit1.LoadRTF(ExtractFilePath(ParamStr(0)) + 'Doc1.rtf');
DBRichViewEdit1.Format;
DBRichViewEdit1.DoChange(True);
My aim is to allow the user to check/un-check a checkbox and also save this to database (hence using TDBRichViewEdit).
Preview of the RTF document is below: Thanks in advance!