Powerbuilder: insert a string into a rich text control

I have a string LS_STRING that contains an aggregated code that I wish to display within a rich text control.

string ls_string = "abc123"

rte_display.clear() // to clear any previous text...
rte_display.pasteRTF(ls_string) // to copy whatever my variable contains into the RTE...
rte_display.setredraw (true) // to refresh the view of the control...

When I compile the code, it does not produce any error, but also does not produce the expected results. Any hints on how to do this? Thanks!



Read more here: https://stackoverflow.com/questions/64900432/powerbuilder-insert-a-string-into-a-rich-text-control

Content Attribution

This content was originally published by Turing at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: