Search found 24 matches

by gdenny
Wed Nov 06, 2013 4:15 pm
Forum: Support
Topic: Table to Text Column Alignment
Replies: 6
Views: 17470

The text is inserted into the tables from a word processor as a proportional font. It looks good on printouts but I am needing to convert it to a pdf using a Rave report and the table is not rendering properly (it only showsWidth1Width0Width0, etc). It is not really a RichView problem at all but a ...
by gdenny
Sun Nov 03, 2013 4:54 pm
Forum: Support
Topic: Table to Text Column Alignment
Replies: 6
Views: 17470

Thanks. I ended up using rv->GetItemText(rv->ItemCount-1) to get the contents of the cell and getting the contents.Length() to determine how many tabs to add. This method works only for fixed fonts like courier new, however. Contents.Length() just returns the number of characters in the cell and ...
by gdenny
Tue Oct 29, 2013 3:03 pm
Forum: Support
Topic: Table to Text Column Alignment
Replies: 6
Views: 17470

That is OK. Can you tell me the functions to use to access the text inside of a table cell so that I can check it's length to customize how many tabs or spaces to add? Thanks.
by gdenny
Mon Oct 28, 2013 9:54 pm
Forum: Support
Topic: Table to Text Column Alignment
Replies: 6
Views: 17470

Table to Text Column Alignment

Hello. I have implemented your example of converting all tables in a richviewedit to text in BCB2007. I have replaced your ; column delimiter with a tab using rv->AddTab instead of rv->AddNLATag in the example. It works great except that the columns do not align once converted to text. The table ...
by gdenny
Mon Jun 03, 2013 6:52 pm
Forum: Support
Topic: RichViewEdit->SearchText Not finding word
Replies: 6
Views: 18726

RichView11
by gdenny
Sun May 26, 2013 3:34 pm
Forum: Support
Topic: RichViewEdit->SearchText Not finding word
Replies: 6
Views: 18726

I tried that but it gives compiler error of undefined symbol. Thanks.
by gdenny
Thu May 23, 2013 8:51 pm
Forum: Support
Topic: RichViewEdit->SearchText Not finding word
Replies: 6
Views: 18726

New information. If I search for DIAGNOSIS instead of DIAGNOSIS: it finds correctly every time. Could there be a non visible character between the S and the colon that would lead to the issue? Thanks.
by gdenny
Thu May 23, 2013 8:26 pm
Forum: Support
Topic: RichViewEdit->SearchText Not finding word
Replies: 6
Views: 18726

RichViewEdit->SearchText Not finding word

Hello. I am getting mixed results when searching for the same word in a richviewedit control. My code does this: loop through a dataset and with each iteration clear and load a richviewedit from a blob field. richviewedit->format(); richviewedit->SetSelectionBounds(0,richviewedit(0,richviewedit ...
by gdenny
Thu May 09, 2013 2:15 pm
Forum: Support
Topic: TRVPrint
Replies: 10
Views: 25581

That worked like a charm. Thank you so much.
by gdenny
Tue May 07, 2013 10:21 pm
Forum: Support
Topic: TRVPrint
Replies: 10
Views: 25581

I have not heard back. Did you get my email? Thanks
by gdenny
Thu May 02, 2013 9:36 pm
Forum: Support
Topic: TRVPrint
Replies: 10
Views: 25581

But I emailed it anyway. Thanks.
by gdenny
Thu May 02, 2013 9:26 pm
Forum: Support
Topic: TRVPrint
Replies: 10
Views: 25581

The sample code is already in this post.
by gdenny
Tue Apr 30, 2013 5:40 pm
Forum: Support
Topic: TRVPrint
Replies: 10
Views: 25581

But everything else works so well and this version would also if I could make the OnPrepaint event work. I really don't mind creating and destroying the RVPrint each cycle. Before I request money for an upgrade, can you suggest something on the compile error I get when I assign that event. Thanks.
by gdenny
Mon Apr 29, 2013 5:30 pm
Forum: Support
Topic: TRVPrint
Replies: 10
Views: 25581

Version 12.0.4 with BCB2007. No project but here is a snippet. From design time RVPrint on a form. void AForm::PrintTheReport(char WhichHeader, String PrintCopyString) { RVPrint1->AssignSource(ReportRichViewEdit); FillHeader(WhichHeader, PrintCopyString, 1, 1); FillFooter(1, 1); RVPrint1->SetHeader ...
by gdenny
Sun Apr 28, 2013 7:21 pm
Forum: Support
Topic: TRVPrint
Replies: 10
Views: 25581

TRVPrint

I call the same function to fill a richview, assign it to a TRVPrint that was dropped on the form at design time, and print it. The first time I call this function, everything prints correct. When I call it again, the second printout is a little different. The problem goes away when I create the ...