下面Delphi的Help说明richedit只能对文字进行格式编排。Description: Use a TRichEdit object to put a standard Windows rich text edit control on a form. Rich text edit controls let the user enter text that includes variation in font attributes and paragraph formatting information.
Use a TRichEdit object to put a standard Windows rich text edit control on a form. Rich text edit controls let the user enter text that includes variation in font attributes and paragraph formatting information.
要存起来吗用BLOB字段.
TBlobField(Table1.FieldByName('Data')).LoadFromFile('c:\temp.rtf');
显示
TBlobField(TABle1.FieldByName('Data')).SaveToFile('c:\temp.rtf');
RXRichEdit1.Lines.LoadFromFile('c:\temp.rtf');