Is it possible to display RTF text placed in string in RichEdit?
From: Arminio Grgic (Arminio_Grgic_at_Yahoo.com)
Date: 04/26/04
- Next message: Gert Baars: "Re: how to get Delphi Studio"
- Previous message: Jacint Figueras: "Re: URGENTLY need FAST and standalone (no BDE) component that can handle DBF or any other database - without BDE!"
- Next in thread: Bruce Roberts: "Re: Is it possible to display RTF text placed in string in RichEdit?"
- Reply: Bruce Roberts: "Re: Is it possible to display RTF text placed in string in RichEdit?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 26 Apr 2004 09:34:04 GMT
I created RTF document in a string and want to display it in RTF.
I tried simple:
RichEdit1.Lines.Text := mystringwithRTFlines;
And, I get EOutOfResource error (RichEdit line insertion error) - but
after that, text is displayed well in RichEdit !?
Obviously, this is not possible this way (actually it works but with
error message !?) ... is there any way to put RTF text from string
into RichEdit ?
I use Delphi 6.0 Update Pack 2
-- Q. What are your qualifications to be a film critic? A. I can watch movies, I can think, and I can write. >From Dale's Movie Page at http://www.geocities.com/Hollywood/Academy/7309/movies.html -- http://agrgic.tripod.com | http://agrgic.tripod.com/rew * STOP nekvalitetnim DVD izdanjima! Potpisite peticiju, prijavite lose DVD-e... * http://www33.brinkster.com/stoplosidvd
- Next message: Gert Baars: "Re: how to get Delphi Studio"
- Previous message: Jacint Figueras: "Re: URGENTLY need FAST and standalone (no BDE) component that can handle DBF or any other database - without BDE!"
- Next in thread: Bruce Roberts: "Re: Is it possible to display RTF text placed in string in RichEdit?"
- Reply: Bruce Roberts: "Re: Is it possible to display RTF text placed in string in RichEdit?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|