TRichViewEdit 装载问题
我有用TRichViewEdit编辑器.保存编辑的内容:
RichEdit->SaveRTF("d:\\test.rtf",false);
EditRVStyle->SaveINI("d:\\test.ini","test");
TRichViewEdit *viewEdit = new TRichViewEdit(this);
viewEdit->Parent = this;
TRVStyle *viewRVStyle = new TRVStyle(viewEdit);
viewRVStyle->LoadINI("d:\\test.ini","test");
viewEdit->Style = viewRVStyle;
viewEdit->Top = 0;
viewEdit->Left = 8;
viewEdit->Width = 665;
viewEdit->Height = 163;
// viewEdit->Hide();
viewEdit->LoadRTF("d:\\test.rtf");
viewEdit->Format();