Search found 9411 matches

by Sergey Tkachenko
Mon Apr 07, 2008 2:09 pm
Forum: Support
Topic: loading a Unicode file line by line
Replies: 21
Views: 48972

1. Load line in s: String. It will contain text in UTF-8 encoding.
2. Convert text to WideString (UTF-16): ws := UTF8Decode(s), where ws is WideString
3. Use AddNLWTag or AddTextNLW to add ws in TRichView
by Sergey Tkachenko
Sun Apr 06, 2008 7:58 am
Forum: Support
Topic: Center table.col
Replies: 5
Views: 17102

I'll create an example when I return (after April, 13)
by Sergey Tkachenko
Sun Apr 06, 2008 7:53 am
Forum: Support
Topic: tRichView Table Output to Roledata PDF Erro
Replies: 4
Views: 16743

Do you mean this problem happens in RolePDF?
by Sergey Tkachenko
Sun Apr 06, 2008 7:53 am
Forum: Support
Topic: Away message: out of office till April 13
Replies: 3
Views: 11334

Ok, I found a way to access my web site. But it's slow, so it's better to send urgent questions to my gmail address
by Sergey Tkachenko
Sun Apr 06, 2008 7:48 am
Forum: Support
Topic: replace every occurrence of a text by another text
Replies: 1
Views: 8490

SearchText and InsertText must work in tables.
You can see the demo in "Demos\CBuilder\Assorted\Search and Replace\"
Replace All command is implemented there.
by Sergey Tkachenko
Sun Apr 06, 2008 7:46 am
Forum: Support
Topic: BeginUpdate in v10
Replies: 1
Views: 7200

BeginUpdate blocks window redrawing until EndUpdate is called.
It is described in the help file, see http://www.trichview.com/help/index.htm ... pdate.html
by Sergey Tkachenko
Fri Mar 28, 2008 9:41 am
Forum: Support
Topic: Getting coordinates for a letter
Replies: 8
Views: 20145

Locations of specific characters are not stored (they are calculated when necessary). But it's possible to get more accurate coordinates than GetItemCoords, if this is a text item occupying several lines. You can get top left coords of the specific line, as it was shown in my code: 1) Get ItemNo and...
by Sergey Tkachenko
Fri Mar 28, 2008 8:14 am
Forum: Support
Topic: Arrow/TAB not working in tables
Replies: 5
Views: 16051

Sorry, I cannot answer to this question right now. I'll answer it after 2 weeks, when I return.
by Sergey Tkachenko
Fri Mar 28, 2008 6:21 am
Forum: Support
Topic: Away message: out of office till April 13
Replies: 3
Views: 11334

Away message: out of office till April 13

I will be out of office till April 13th, 2008. Orders for TRichView and ScaleRichView are processed as usual. If you have a question related to your recent order (or an urgent question), please send it to "sales AT trichview DOT com". Ilya ( proxy3d ) will be here, you can send questions a...
by Sergey Tkachenko
Thu Mar 27, 2008 8:32 pm
Forum: Support
Topic: Ident Bullet and Numbering
Replies: 4
Views: 12159

No, rve becomes a pointer to the object, nothing is copied.
I added this variable only because writing "rve" in the subsequent code is shorter than "SRichViewEdit1.RichViewEdit.TopLevelEditor".
by Sergey Tkachenko
Thu Mar 27, 2008 8:11 pm
Forum: Support
Topic: Ident Bullet and Numbering
Replies: 4
Views: 12159

Your code has several problems, the most important - you use incorrect value as an index of ListStyles. The correct code is: procedure TForm3.SclRVRuler1RulerItemRelease(Sender: TObject); var ItemNo, ListNo, LevelNo, StartFrom: Integer; UseStartFrom: Boolean; rve: TCustomRichViewEdit; begin rve := S...
by Sergey Tkachenko
Thu Mar 27, 2008 7:14 pm
Forum: Support
Topic: Getting coordinates for a letter
Replies: 8
Views: 20145

Ok, it's possible to do using undocumented methods. Let we have RichView1 and RichView2, containing the same document, may be with different font sizes. For example, it can be loaded like this: procedure TForm1.Button1Click(Sender: TObject); var i: Integer; begin if OpenDialog1.Execute then begin Ri...
by Sergey Tkachenko
Thu Mar 27, 2008 6:53 pm
Forum: Support
Topic: Database Access - UNICODE
Replies: 3
Views: 9679

Follow the insttuctions for installing in BDS 2006.
Install RVPkg2006.bdsproj and RVDBPkg2006.bdsproj.
by Sergey Tkachenko
Thu Mar 27, 2008 4:11 pm
Forum: Support
Topic: Database Access - UNICODE
Replies: 3
Views: 9679

Sorry, I do not understand your question. If DBRichViewEdit.FieldFormat=rvdbText, then documents will be stored in a plain text. New version (v10.0) stores this text in UNICODE, if DBRichViewEdit is linked to UNICODE MEMO field, for example in MS Access. But this feature is only for Delphi/C++Builde...