Search found 9409 matches

by Sergey Tkachenko
Tue Nov 21, 2006 7:41 pm
Forum: Support
Topic: Search and Highlight in TRVTableCellData
Replies: 9
Views: 33106

No, it's not enogh.

Give me WideString analog of LastPos function from that demo, and I'll create Unicode version of that procedure :)
by Sergey Tkachenko
Tue Nov 21, 2006 7:38 pm
Forum: Support
Topic: copy bullet style
Replies: 10
Views: 27028

Do you need to create document with bullets or to add bullets to existing paragraphs?

I do not understand the second question ("how do I get the ListStyle from the TRichViewEdit")
by Sergey Tkachenko
Tue Nov 21, 2006 6:52 pm
Forum: Support
Topic: Search and Highlight in TRVTableCellData
Replies: 9
Views: 33106

If document is not formatted, use the following code (the second example in the topic):
http://www.trichview.com/forums/viewtop ... =2485#2485

MarkSubString(Cell, Word)

Note: this code converts strings to ANSI
by Sergey Tkachenko
Tue Nov 21, 2006 12:08 pm
Forum: Support
Topic: Suggestion: SmartPopupProperties property for TRichView
Replies: 3
Views: 13237

May be in future... Currently they are designed to show info for item at the position of caret
by Sergey Tkachenko
Tue Nov 21, 2006 12:06 pm
Forum: Support
Topic: RV does not display in a TeditBox
Replies: 6
Views: 16013

Existing documents cannot be loaded in this way, only new documents. To load existing documents (saved without styles), include rvfoConvUnknownStylesToZero in RVFOptions. Which type of field do you use? May be it cannot store binary data, only plain text data? In this case, RVF with styles and table...
by Sergey Tkachenko
Tue Nov 21, 2006 11:58 am
Forum: Support
Topic: Search and Highlight in TRVTableCellData
Replies: 9
Views: 33106

Please use this code instead (assuming that this table is in RichViewEdit1): var I: Integer; rve: TCustomRichViewEdit; Cell.Edit; for I := Low(Words) to High(Words) do begin with CustomRVFormattedData(Cell.GetRVData) do SetSelectionBounds(0, GetOffsBeforeItem(0). 0, GetOffsBeforeItem(0)); rve := Ric...
by Sergey Tkachenko
Mon Nov 20, 2006 1:28 pm
Forum: Support
Topic: copy bullet style
Replies: 10
Views: 27028

As an editing operation?
Select (SetSelectionBounds) and call ApplyListStyle
by Sergey Tkachenko
Mon Nov 20, 2006 10:51 am
Forum: Support
Topic: RV does not display in a TeditBox
Replies: 6
Views: 16013

-8 1 3 0 3 0 0 0 0 here is some text - this is RVF code loaded as text. It happens when there is an error loading RVF from field. DBRichViewEdit, if it cannot load RVF, loads field content as a plain text, so you can see these RVF codes. I think the error is because of not saving styles. Right clic...
by Sergey Tkachenko
Sun Nov 19, 2006 9:49 pm
Forum: Support
Topic: List Bounds exception when accesing table cells
Replies: 8
Views: 20462

Is it inherited from TWinControl, or from TGraphicControl?
I guess from TGraphicControl, otherwise rv.Invalidate does not repaint it.
I am afraid it is this control what flickers, not TRichView... May be it has property like Transparent or Opaque? May be, in non-transparent mode, it will not flicker.
by Sergey Tkachenko
Sun Nov 19, 2006 8:30 pm
Forum: Support
Topic: List Bounds exception when accesing table cells
Replies: 8
Views: 20462

What types of controls?
by Sergey Tkachenko
Sun Nov 19, 2006 7:40 pm
Forum: Support
Topic: List Bounds exception when accesing table cells
Replies: 8
Views: 20462

It's strange, TRichView must not flicker on repainting.
by Sergey Tkachenko
Sun Nov 19, 2006 7:04 pm
Forum: Support
Topic: How Find&Replace "anithing in a TrichEdit?
Replies: 5
Views: 16768

call rv1.Format after this code.
by Sergey Tkachenko
Sun Nov 19, 2006 7:01 pm
Forum: Support
Topic: Edit Line of a Cell
Replies: 5
Views: 17334

If you just need to modify the existing text (not to insert new paragraphs or text of different font), it is very simple. This code adds numbers to the first columns of each table in the document (nested tables are ignored). var i, r, idx: Integer; table: TRVTableItemInfo; for i := 0 to rv.ItemCount...
by Sergey Tkachenko
Sun Nov 19, 2006 6:50 pm
Forum: Support
Topic: RV does not display in a TeditBox
Replies: 6
Views: 16013

Can you send me a simple project to reproduce this problem?
by Sergey Tkachenko
Sun Nov 19, 2006 6:49 pm
Forum: Support
Topic: How rvvaMiddle works?
Replies: 8
Views: 22131

It's planned for the end of this winter.

As for workaround, you can use tables.