Getting Started with TMS FNC Rich Editor RTF IO
TTMSFNCRichEditorRTFIO is a non-visual component that adds RTF import and export to
TTMSFNCRichEditor. It runs on Windows (Win32/Win64). Drop it on the form, connect it to
an editor instance, and call Load or Save.
Prerequisites
- Delphi with TMS FNC UI Pack installed.
- A VCL or FMX application targeting Windows.
- A
TTMSFNCRichEditoron the same form.
Design-time setup
- Drop a
TTMSFNCRichEditoronto a form. - Drop a
TTMSFNCRichEditorRTFIOonto the same form.
The component auto-detects the firstTTMSFNCRichEditoron the form and links itself automatically. If you have multiple editors, assignRichEditorexplicitly. - Wire save and load buttons in the Object Inspector:
procedure TForm1.ButtonSaveClick(Sender: TObject);
begin
TMSFNCRichEditorRTFIO1.Save('document.rtf');
end;
procedure TForm1.ButtonLoadClick(Sender: TObject);
begin
TMSFNCRichEditorRTFIO1.Load('document.rtf');
end;
Explicit wiring (multiple editors)
When the form contains more than one editor, assign RichEditor explicitly:
TMSFNCRichEditorRTFIO1.RichEditor := TMSFNCRichEditor2;
Next steps
- Guides — feature overview with stream I/O and runtime creation
- API reference