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
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
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.