RTF support for check-boxes
-
- Posts: 7
- Joined: Tue Apr 24, 2012 4:19 am
RTF support for check-boxes
I understand the RTF standard has some basic support for check-boxes and some other basic objects without embedding external objects. Does TRichView support this, and, if so, how?
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Posts: 7
- Joined: Tue Apr 24, 2012 4:19 am
Thank you Sergey, I suspected as much. Now I just have to figure out what RTF data I have to substitute in place of TCheckBox. Any idea?Sergey Tkachenko wrote:In TRichView, you can insert any Delphi control, including TCheckBox.
It can be saved in a native format (RVF). However, saving/reading controls to RTF is not implemented (you can implement saving yourself using OnSaveComponentToFile event)
The other question is, how do I reverse the process, i.e., load an RTF file which uses native check boxes and replace them with TCheckBox? Is there an appropriate event for this?
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: