No, it's not enogh.
Give me WideString analog of LastPos function from that demo, and I'll create Unicode version of that procedure
Search found 9409 matches
- Tue Nov 21, 2006 7:41 pm
- Forum: Support
- Topic: Search and Highlight in TRVTableCellData
- Replies: 9
- Views: 33106
- Tue Nov 21, 2006 7:38 pm
- Forum: Support
- Topic: copy bullet style
- Replies: 10
- Views: 27028
- 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
http://www.trichview.com/forums/viewtop ... =2485#2485
MarkSubString(Cell, Word)
Note: this code converts strings to ANSI
- Tue Nov 21, 2006 12:08 pm
- Forum: Support
- Topic: Suggestion: SmartPopupProperties property for TRichView
- Replies: 3
- Views: 13237
- 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...
- 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...
- Mon Nov 20, 2006 1:28 pm
- Forum: Support
- Topic: copy bullet style
- Replies: 10
- Views: 27028
- 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...
- 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.
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.
- Sun Nov 19, 2006 8:30 pm
- Forum: Support
- Topic: List Bounds exception when accesing table cells
- Replies: 8
- Views: 20462
- Sun Nov 19, 2006 7:40 pm
- Forum: Support
- Topic: List Bounds exception when accesing table cells
- Replies: 8
- Views: 20462
- Sun Nov 19, 2006 7:04 pm
- Forum: Support
- Topic: How Find&Replace "anithing in a TrichEdit?
- Replies: 5
- Views: 16768
- 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...
- Sun Nov 19, 2006 6:50 pm
- Forum: Support
- Topic: RV does not display in a TeditBox
- Replies: 6
- Views: 16013
- Sun Nov 19, 2006 6:49 pm
- Forum: Support
- Topic: How rvvaMiddle works?
- Replies: 8
- Views: 22131