Search found 7586 matches

by Sergey Tkachenko
Sat Oct 22, 2005 10:56 am
Forum: Support
Topic: Keep the current paragraph style after an InsertItem
Replies: 6
Views: 9850

(AddItem is used for document generation, not for inserting at the caret position; It requires call of Format before displaying) As far as I understand, your question is about a current text style after the insertion of label item. Which text style do you want to make current: - a text style used in...
by Sergey Tkachenko
Sat Oct 22, 2005 8:06 am
Forum: Support
Topic: Keep the current paragraph style after an InsertItem
Replies: 6
Views: 9850

Text style or paragraph style?
Do you use AddItem to add LabelItem to the end of the document?
Set li.ParaNo = <required paragraph style> before the insertion.
by Sergey Tkachenko
Sat Oct 22, 2005 8:03 am
Forum: Support
Topic: RichViewActions Hint Issue
Replies: 1
Views: 5430

This is a standard TStatusBar feature.
Set StatusBar1.AutoHint = False to disable it.
by Sergey Tkachenko
Sat Oct 22, 2005 7:56 am
Forum: Support
Topic: Error "Property DoInPaletteMode does not exist"
Replies: 1
Views: 5150

Did you use the old freeware version of TRichView before?
Probably C++Builder compiles application with the old version of TRichView. Find and delete all files of the old version.
by Sergey Tkachenko
Fri Oct 21, 2005 8:47 pm
Forum: Support
Topic: How to handle header and footers
Replies: 1
Views: 5232

Oops, I missed this question, sorry. It's possible to make any kind of header and footer, but they must be implemented differently depending on your needs. The component supports complex headers and footers - they can be multiline, contain images, tables, etc. They must be assigned to TRVPrint compo...
by Sergey Tkachenko
Fri Oct 21, 2005 5:03 pm
Forum: Support
Topic: Selecti the Inserted Item
Replies: 2
Views: 6098

var rve: TCustomRichViewEdit; li := TRVLabelItemInfo.CreateEx(RichViewEdit1.RVData, TEXTSTYLE_VARIABLE, '['+Variable.Description+']'); If RichViewEdit1.InsertItem('', li) then begin rve := RichViewEdit1.TopLevelEditor; ItemNo := rve.CurItemNo; rve.SetSelectionBounds(ItemNo, rve.GetOffsBeforeItem(It...
by Sergey Tkachenko
Fri Oct 21, 2005 11:41 am
Forum: Support
Topic: Slow PrintPreview
Replies: 14
Views: 17054

It's possible to make a very fast preview by drawing a page image in bitmap, and then showing this bitmap.
You can do it yourself, using RVPrint.MakeScaledPreview method.
by Sergey Tkachenko
Thu Oct 20, 2005 5:22 pm
Forum: Support
Topic: Add Mediaplayer (or video/audio) to RichView
Replies: 6
Views: 12018

About resizing: call ResizeCurrentControl(NewWidth, NewHeight) instead of Format, it's much more faster. Or better yet, resize it properly before the insertion to avoid flickering (resizing may require that the panel's Parent is assigned; in this case, temporarily make it hidden (Panel.Visible := Fa...
by Sergey Tkachenko
Thu Oct 20, 2005 9:29 am
Forum: Support
Topic: No exported image when cell is still edited
Replies: 5
Views: 5489

Probably your code in these events fails to work with editing cells.
Please post it here or send me by e-mail.
by Sergey Tkachenko
Thu Oct 20, 2005 9:27 am
Forum: Support
Topic: How to convert RVF to HTML without using TRichView?
Replies: 4
Views: 9227

Unformatted documents can be saved to RVF and HTML. Only export to RTF (specifically, export of tables) requires a formatted document, otherwise it formats the document itself. If you want to save RTF (containing tables), you need to place TRichView on (invisible) form (This limitation will be remov...
by Sergey Tkachenko
Wed Oct 19, 2005 5:37 pm
Forum: Support
Topic: No exported image when cell is still edited
Replies: 5
Views: 5489

Do you mean that if the caret is inside cell, images from this cell are not exported to HTML?
I cannot reproduce this problem (I tried to do it in the ActionTest demo).

Do you process OnHTMLSaveImage or OnSaveImage2 events?
by Sergey Tkachenko
Wed Oct 19, 2005 5:10 pm
Forum: Support
Topic: How to find first misspelled word from caret position
Replies: 2
Views: 6770

What exactly do you want to do? Do you want to move caret to all possible positions in text and check if they are misspelled using GetCurrentMisspelling? To move caret inside table, you need a recursive procedure, like it's shown in http://www.trichview.com/forums/viewtopic.php?t=46 (do not forget t...
by Sergey Tkachenko
Wed Oct 19, 2005 5:00 pm
Forum: Support
Topic: Slow PrintPreview
Replies: 14
Views: 17054

To HighTower: If RVPrintPreview.CachePageImage=False, no caching is used, and a trichview page-painting procedure is called on each repainting of the preview. If RVPrintPreview.CachePageImage=True, the current page is rendered into a metafile, and then this metafile is drawn, so the trichview page-p...