Search found 9400 matches

by Sergey Tkachenko
Wed Apr 09, 2008 6:04 am
Forum: Support
Topic: TRichView Multiple Thread Problem
Replies: 13
Views: 37934

Though TRichView code never change values of global variables or other shared resources, I am afraid that using them in threads must be very limited, because VCL library itself is not a thread safe. I highly recommend to call all methods allocating and freeing memory or resources (that includes Add*...
by Sergey Tkachenko
Tue Apr 08, 2008 4:03 pm
Forum: Support
Topic: loading a Unicode file line by line
Replies: 21
Views: 48943

If file can be loaded by LoadTextW, this is not a UTF-8, but UTF-16 file (each character = 2 bytes). Your code is not correct. You load file in string, so each Unicode character is read in two adjacent characters. When you pass this string to WideString parameter of TRichView.AddTextNLW, the string ...
by Sergey Tkachenko
Tue Apr 08, 2008 2:31 pm
Forum: Support
Topic: Several TextStyles in same line into Table.Cells
Replies: 2
Views: 8588

You can use AddNL() with ParaNo parameter = -1. This means adding in the same paragraph as the previous line. Such calls of AddNL() (with ParaNo=-1) are the same as calls of Add(). AddTextNL() can be used too (with FirstParaNo parameter = -1). AddText() is a deprecated method. PS: Each cell initiall...
by Sergey Tkachenko
Tue Apr 08, 2008 2:21 pm
Forum: Support
Topic: loading a Unicode file line by line
Replies: 21
Views: 48943

Please post here your code
by Sergey Tkachenko
Mon Apr 07, 2008 2:09 pm
Forum: Support
Topic: loading a Unicode file line by line
Replies: 21
Views: 48943

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: 17093

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: 16710

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: 11327

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: 8481

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: 7182

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: 20128

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: 16040

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: 11327

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: 12154

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".