I am using the AdvRichEditor in a form it saves the richtext to a varchar field ( AdvRichEditor1.SaveToStream(ss);) in the database and the save is sucessfull however when I try to retrieve the text an display it in the AdvRichEditor (AdvRichEditor1.LoadFromStream(ss);) I get an error sayin it cannot load the stram
var
RichContent: String;
ss : TStringStream;
s1: String;
ss1 : TStringStream;
begin
inherited;
SaveToStream() writes as a binary stream. This will be problematic in a varchar field. If you want to use SaveToStream(), LoadFromStream(), please use a binary blob field.
Thanks It worked. Is there a property that I need to turn off or on (AdvRichEdit) to have the ability to go to the next line (Line break ) when the "enter" key is pressed. When I press enter it goes to select font type.
I dropped a TAdvRichEditorFormatButtonBar and TAdvRichEditor on the form but I could not reproduce such behavior.
What do you do different from this?
If a problem persists, please isolate this and send a sample source project with which we can reproduce this here.