TMS FireMonkey Grid

Example 11 : RTFIO demo

FireMonkey grid

The RTF IO demo demonstrates exporting to and importing from an rich text compatible format. When clicking on the Export to RTF button, the grid is exported and the rtf file is automatically opened if a rich text editor is available.

Exporting the grid can be done with
XOpenFile('open', '..\..\gridexport.rtf', '', '');
Note that for opening the file, the XOpenFile procedure is used that is located in the unit FMX.TMSXUtil which is compatible with all supported platforms which can handle file manipulation.