WPCubed Product Support

join wprichtext ???? (= append RTF)

as I make to join the two components wprichtext, I am trying to use wprichtext3.AsString := wprichtext1.asString + wpRichtext2.Astring . but it is not giving certain

#1 ♥ 0
13.9k Views 2 users read 1 min
support

RTF text cannot be combined that way.

You can use

wprichtext3.Clear;
wprichtext3.SelectionAsString := wprichtext1.asString;
wprichtext3.SelectionAsString := wprichtext2.asString;

note: SelectionAsString actually insertes!

Julian

#2 ♥ 0