This demo shows how to insert TRichViewEdit in TRichViewEdit.
Documents with inserted RichViewEdits can be saved in RVF files.
http://www.trichview.com/support/files/subeditors.zip
Minimal required Delphi version: 6
[Demo] Editors in editors
-
- Site Admin
- Posts: 16238
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: [Demo] Editors in editors
If I save the TRichViewEdit to file as a RVF it should be able to up in another TRichView Editor correct?
RichViewEdit1.SaveRVF('InterlinearTest.rvf', False); or do I need to do something a bit different?
RichViewEdit1.SaveRVF('InterlinearTest.rvf', False); or do I need to do something a bit different?
-
- Site Admin
- Posts: 16238
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: [Demo] Editors in editors
Yes, of course. Use SaveRVF to save and LoadRVF+Format to load.
RegisterClasses([TSubRichViewEdit]) must be called before loading, if RVF document can contain TSubRichViewEdit controls.
RegisterClasses([TSubRichViewEdit]) must be called before loading, if RVF document can contain TSubRichViewEdit controls.
Re: [Demo] Editors in editors
Ah excellent I thought as much that I must be missing just a little something. Thanks for the info about Register class