Reputation:
I am having .rtf extension file that's contents in tabular format, Now I want to import this .rtf file in TRichEdit control (only contents in formatted order not table grid-line), means want to hide gridlines after importing.
pls tell me solution for Delphi7
Thnks Shashi Jaiswal
Upvotes: 0
Views: 275
Reputation: 7392
You may want to post on StackOverflow instead.
Also, I think you want to "import to TRichEdit", not "export".
And finally, if you load the file in a TMemoryStream, you could do something like RichEdit1.Lines.LoadFromStream(theStream)
(where "RichEdit1" is the name of the TRichEdit and theStream is the TMemoryStream) but I haven't tested it, delphi 7 fails to work on my new computer :(
Upvotes: 1