richedit

I would like to assign directely rtf text fragment to TfrxRichView object, named Editor, inside script event, without defining a variable to it: Editor.RichEdit.SelText := rtftxt;
I try to do that like the component itself when it is connected to a dataset field (using clipbord via SetText). But the scripting engine answer me that those methods are not defined. It would by nice later to add xxx.AsRtf property to make it easy while defining data by any way.

Any suggestion ?

thanks

Comments

  • edited 9:18PM
    FR3.10 should work.
  • edited 9:18PM
    It does not work under FR3.10, because I first tried it under 3.10 version.
    I dont need anymore to define directely the rich contents. I use again an expression
    containing user defined function to get the rich contents string. The problem come from existing braquets (or any other delimiters) in the document contents. So after retrieving the contents, FR3 tries again to calculate any characters sequence like [bla].
    Now, my user function eliminates such sequences, and it works fine.

    thanks.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.