I need some important help when using your program.
When I copy a text from WPrichtext1.text := WPrichtext2.text, at the end of the paragraph, I can´t type, neither add more lines and it appears the error “Wrong Index”. How can I fix this problem?
I need some important help when using your program.
When I copy a text from WPrichtext1.text := WPrichtext2.text, at the end of the paragraph, I can´t type, neither add more lines and it appears the error “Wrong Index”. How can I fix this problem?
Hi,
I assume a ReformatAll is missing after this statement.
To assign text better use property AsString - Text will only extract ANSI
Julian
// I use this command line
WPRichEdit1.SelectAll;
WPRichEdit1.CopyToClipboard(true) ;
WPRichEdit2.PasteFromClipboard ;
WPRichEdit2.ReplaceTokens('<','>') ;
WPRichEdit2.ReformatAll ;
I can´t type, neither add more lines and it appears the error
“Wrong Index”. How can I fix this problem?
"ReformatAll" does not fix this problem !
Hi,
This is an uncommon error. Please try in a simplified demo first. I assume it has to do with the text you have.
Julian