Search found 10 matches

by GerryD
Sun Sep 04, 2011 11:09 pm
Forum: Support
Topic: There is some free component to export to PDF?
Replies: 3
Views: 14241

Follow-up

I too would like to get the synopse code to work. See the snippet of synopse code below. I can make this work for a tRichEdit component (what the code was desined to do) but not a tRichView. Can I assume it is because the tRichView is not responding to the SEND_MESSAGE? All this code receives back ...
by GerryD
Sun Sep 04, 2011 3:03 pm
Forum: Support
Topic: Delphi XE2
Replies: 17
Views: 73149

Delphi XE2

What do I need to do to use RichView with the new release of Delphi?
by GerryD
Wed May 11, 2011 11:31 pm
Forum: Support
Topic: Mail Merging a tStringGrid into a tRichView
Replies: 7
Views: 21815

Colum Widths in mail-merged tStringGrid

I'm finally getting back to this after a brief layoff. So as I mentioned previously I'm getting the stringgrids place correctly on the page inside some table cells that describe the layout of the stringgrids relative to each other. My new problem is that TRichView is automatically changing the ...
by GerryD
Fri Oct 15, 2010 11:42 pm
Forum: Support
Topic: Mail Merging a tStringGrid into a tRichView
Replies: 7
Views: 21815

Thanks. That's works great but it gets me back to one of my original questions. " If I wanted to put two tStringGrids side by side in the document would it be best to use TextBoxs around them or maybe stick them into a two cell table? So I tried the two cell table and it worked but I can't get ...
by GerryD
Fri Oct 15, 2010 2:25 am
Forum: Support
Topic: Mail Merging a tStringGrid into a tRichView
Replies: 7
Views: 21815

So i went down this path. I can build a TRVTableItemInfo with the data from my StringGrid but I can't figure out how to insert it into my tRichView. Here's the snippet of code from the mail merge demo FieldName := Copy(s, j+1, FieldEnd-j-1); FieldValue := GetFieldValueFromDatabase(FieldName); Delete ...
by GerryD
Wed Oct 13, 2010 10:48 pm
Forum: Support
Topic: Mail Merging a tStringGrid into a tRichView
Replies: 7
Views: 21815

Mail Merging a tStringGrid into a tRichView

I've reviewed the mail merge demos and I have some questions and am in need of some advice. In my application the mail merge template is provided by the customer as an RTF file with the appropriate field names tagged between []s. One of the fields I need to merge is a tStringGrid from one of my ...
by GerryD
Sat Oct 09, 2010 2:00 am
Forum: Support
Topic: LoadRTF unexpected results
Replies: 1
Views: 9662

LoadRTF unexpected results

I'm checking out the trial version of tRichVeiw for Delphi 2007. I can load an RTF file but the results are not what I expected. The display is a single font and text that was supposed to be bold is being displayed in blue. Here's my code. begin with RichViewTest do begin Clear; DeleteUnusedStyles ...
by GerryD
Fri Oct 08, 2010 11:37 am
Forum: Support
Topic: I must be doing something wrong. LoadRTF not working?
Replies: 4
Views: 15669

Still not quite there

Sergey Tkachenko wrote:Call Format after LoadRTF.
Calling format did get text displayed on my screen but the RTF formatting isn't working. There is only one font and text that was supposed to be bold is rendered in blue. It looks like RV is thinking it is plain text.

Can you point me in the right direction?
by GerryD
Thu Oct 07, 2010 12:08 pm
Forum: Support
Topic: I must be doing something wrong. LoadRTF not working?
Replies: 4
Views: 15669

That did the trick. Thanks.
by GerryD
Wed Oct 06, 2010 11:06 pm
Forum: Support
Topic: I must be doing something wrong. LoadRTF not working?
Replies: 4
Views: 15669

I must be doing something wrong. LoadRTF not working?

I've downloaded the trial version of Richview (V12.6.1) for Delphi 2007 and I'm trying to get it to read in an RTF document. I dropped a tRichView and a style component on my form along with a button with the following code. Basically cloned from one of the demo programs. begin with RichViewTest do ...