I just asked where do you want to move the caret.
You said, for example, to the position 80 on the line. It is possible, but not very trivial. But there may be simpler methods, I can try to help if you tell me what do you want to implement.
Search found 9411 matches
- Tue May 20, 2008 6:46 pm
- Forum: Support
- Topic: Cursor movement
- Replies: 10
- Views: 24742
- Tue May 20, 2008 5:52 pm
- Forum: Support
- Topic: Cursor movement
- Replies: 10
- Views: 24742
- Tue May 20, 2008 5:21 pm
- Forum: Support
- Topic: "file:///" type urls don't work
- Replies: 1
- Views: 10262
First, check that the hyperlink is really correct. Visible text for the hyperlink may be different from its target. I can add this code in TrvActionInsertHyperlink.GoToLink in RichViewActions.pas, before calling ShellExecute: if AnsiLowerCase(Copy(URL, 1, 8))='file:///' then URL := Copy(URL, 9, Leng...
- Tue May 20, 2008 4:47 pm
- Forum: Support
- Topic: Replace text part of RichViewEdit1 by text part of RichViewE
- Replies: 3
- Views: 9818
Sorry, what do you mean by replacing text part? If you want to copy document as a plain text (without all text and paragraph attributes, images, tables, etc.) use this code: var Stream: TStringStream; begin Stream := TStringStream.Create(''); RichViewEdit1.SaveTextToStream('', Stream, 80, False, Fal...
- Tue May 20, 2008 12:02 pm
- Forum: Support
- Topic: Printing Problem with tables!
- Replies: 47
- Views: 142064
- Sat May 17, 2008 4:49 pm
- Forum: Support
- Topic: rve.GetItemCoords identifies 1st line of multline Paragraph
- Replies: 4
- Views: 12108
- Sat May 17, 2008 1:27 pm
- Forum: Support
- Topic: resynchronizing
- Replies: 8
- Views: 19735
- Sat May 17, 2008 12:14 pm
- Forum: Support
- Topic: rve.GetItemCoords identifies 1st line of multline Paragraph
- Replies: 4
- Views: 12108
uses CRVFData, DLines; procedure GetCaretY(rve: TCustomRichViewEdit): Integer; var DItemNo, DItemOffs, X, Y: Integer; begin rve := rve.TopLevelEditor; rve.RVData.Item2DrawItem(rve.CurItemNo, rve.OffsetInCurItem, DItemNo, DItemOffs); rve.RVData.GetOriginEx(X, Y); Result := rve.RVData.DrawItems[DItemN...
- Sat May 17, 2008 12:09 pm
- Forum: Support
- Topic: resynchronizing
- Replies: 8
- Views: 19735
- Sat May 17, 2008 11:04 am
- Forum: Support
- Topic: www.trichview.com can not be visited from China. why ?
- Replies: 2
- Views: 8371
- Sat May 17, 2008 10:46 am
- Forum: Support
- Topic: resynchronizing
- Replies: 8
- Views: 19735
- Sat May 17, 2008 10:44 am
- Forum: Support
- Topic: "#13#10" or (only) "#13"
- Replies: 1
- Views: 7438
- Thu May 15, 2008 6:50 pm
- Forum: Support
- Topic: resynchronizing
- Replies: 8
- Views: 19735
- Thu May 15, 2008 6:48 pm
- Forum: Support
- Topic: How to Insert CR LF when writing to TRichView
- Replies: 1
- Views: 8455
- Thu May 15, 2008 1:45 pm
- Forum: Examples, Demos
- Topic: [Demo] Advanced RTF to PDF demo using LLPDFLib (open source)
- Replies: 10
- Views: 113471
[Demo] Advanced RTF to PDF demo using LLPDFLib (open source)
Update 2017-Dec-4 ] TRichView setup now includes better version of this demo in <TRichViewDir>\ThirdParty\Export\LLPDFLib\Demos\RV2PDF\ folder. This better version reads all page properties from source RTF (or RVF) files and applies them to PDF, supports headers, footers, footnotes and endnotes, di...