Search found 9411 matches

by Sergey Tkachenko
Wed Dec 12, 2007 4:01 pm
Forum: Support
Topic: TCheckBox in RichView
Replies: 4
Views: 13251

Not all controls can be printed by default TRichView printing procedure. If some controls are not printed, use OnPrintComponent event. For checkboxes: procedure TForm1.RVPrint1PrintComponent(Sender: TCustomRVPrint; PrintMe: TControl; var ComponentImage: TBitmap); var r: TRect; State: Cardinal; begin...
by Sergey Tkachenko
Wed Dec 12, 2007 3:57 pm
Forum: ScaleRichView
Topic: ScaleRichView and Reportbuilder
Replies: 3
Views: 16595

Yes, this line assigns events of one TRichView to another.
Remove it, if you use ScaleRichView
by Sergey Tkachenko
Tue Dec 11, 2007 12:04 pm
Forum: Support
Topic: SafeDeleteItem when only 1 item in cell
Replies: 4
Views: 13713

The line dec(ItemNo) must be removed. When you delete the ItemNo-th item, the next item (if it exists) becomes the ItemNo-th item, and you should change its properties, not properties of the previous item. As for value of ItemNo parameter after existing this procedure, it depends on your needs (prob...
by Sergey Tkachenko
Tue Dec 11, 2007 11:57 am
Forum: Support
Topic: What are options for creating PDF files?
Replies: 5
Views: 15238

PDF libs provide canvas where you can draw page image, page by page. Then they convert your drawing to PDF. They can understand not all drawing operations, so not all drawing will be saved. But as for pagination and headers/footers, this work should be implemented by TRVReportHelper and you. Unfortu...
by Sergey Tkachenko
Tue Dec 11, 2007 10:18 am
Forum: ScaleRichView
Topic: Context menu issues
Replies: 3
Views: 17723

1) You need to compile RichViewActions with support of Addict3 (see install.txt of RichViewActions), place TrvActionAddictSpell3 on the form, assign it to RVAddictSpell3 property of TRVAControlPanel. Read details in readme.rvf loaded in the ActionTest by default (close to the end of file) 2) Add thi...
by Sergey Tkachenko
Tue Dec 11, 2007 9:23 am
Forum: ScaleRichView
Topic: TRVFontComboBox and TRVFontSizeComboBox in TdxBar
Replies: 6
Views: 28369

These controls do not work by themselves (unlike actions).
You need to process their events to apply changes to the editor, and events of editor to make them show attributes of the current text.
by Sergey Tkachenko
Mon Dec 10, 2007 4:33 pm
Forum: Support
Topic: Copy RVData from one in another RichView Component
Replies: 7
Views: 21042

I meant that all document attributes must be copied (when using the code from the Yernar's post), including page breaks.
I do not understand why page breaks after the fist page breaks may be gone, it should not happen.
by Sergey Tkachenko
Mon Dec 10, 2007 2:00 pm
Forum: Support
Topic: Double clicking a word does not select it
Replies: 2
Views: 10332

Double clicking does select word. But not in ScaleRichView yet.
by Sergey Tkachenko
Mon Dec 10, 2007 1:59 pm
Forum: Support
Topic: Setting Device-ppi manualy?
Replies: 3
Views: 14686

In TRichView, you cannot change resolution.
Well, you can assign RVStyle.TextStyles.PixelsPerInch, but it affects only text (like changing font size in browsers).

You can use RVReportHelper to draw at printer resolution.
See http://www.trichview.com/support/files/a4.zip
by Sergey Tkachenko
Mon Dec 10, 2007 1:53 pm
Forum: Support
Topic: What are options for creating PDF files?
Replies: 5
Views: 15238

Test LLPDFLib (www.llion.net), wPDF (www.wptools.com), eDocEngine (www.gnostice.com)
Other libraries that can be used with TRichView use DLLs, as far as I know.
by Sergey Tkachenko
Mon Dec 10, 2007 1:51 pm
Forum: Support
Topic: make RichView(Edit) transparent?
Replies: 1
Views: 7070

You can draw background on bitmap and assign it to BackgroundBitmap property.
by Sergey Tkachenko
Mon Dec 10, 2007 1:50 pm
Forum: Support
Topic: I have an question about TRichViewEdit
Replies: 26
Views: 48152

If some components are not printed, you can help TRichView to print them.
Process TRVPrint.OnPrintComponent event. In this event, if the component is TPaintBox, create a bitmap (having the same size as the paint box) and draw the paint box on it.
If you need further help, let me know.
by Sergey Tkachenko
Mon Dec 10, 2007 1:47 pm
Forum: Support
Topic: SafeDeleteItem when only 1 item in cell
Replies: 4
Views: 13713

Why do you call DeleteItems(-1)? It makes no sense. Items are indexed from 0 to ItemCount-1.
If you deleted the last item in the table cell, you should insert something instead (Cell.AddNL('', 0, 0), for example)
by Sergey Tkachenko
Mon Dec 10, 2007 1:45 pm
Forum: Support
Topic: Copy RVData from one in another RichView Component
Replies: 7
Views: 21042

AppendFrom is bad because it cannot copy some items (for example tables and controls).
So the best solution is to copy via RVF stream.
Page breaks must be retained. Can you tell me how to reproduce the problem?
by Sergey Tkachenko
Mon Dec 10, 2007 1:43 pm
Forum: Support
Topic: Exception if compiler directive RVDONOTUSELIST is disabled
Replies: 2
Views: 9613

Can you send me a test project?