I want to edit a text in richedit, and than save it to a database field.
Later I want to be able to edit again, but I cound wake it work.
I get the text with
Code: Select all
vtext = oRich:SaveAsRTF
Code: Select all
repl tekstlengt with HB_CompressBuflen( Len( vtext ) )
repl tekst with HB_Compress( vtext )
But when I want to read it back with HB_Compress() , the text is empty.
I use this method also for other things, and that is working.
How can I set the text back into the richedit?
I use oRich:LoadRTF( tekst ), but it's not working