Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
procedure TChronNoteMenu.GetText; var rtfEdit: TRichEdit; ss: TStringStream; begin sText := ''; // class level public variable to contain the text ... sText := [Get rtf from database]; // I have verified that sText at this point contains the expected rtf text if bPlainText then begin rtfEdit := TRichEdit.Create(nil); ss := TStringStream.Create; try ss.WriteString(sText); // ***** WHEN EXECUTING, FOLLOWING LINE CAUSES ERROR ***** rtfEdit.Lines.LoadFromStream(ss); sText := rtfEdit.Text; finally rtfEdit.free; ss.Free; end; end; ... end;
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.