Search found 9409 matches
- Wed Apr 16, 2008 4:55 am
- Forum: Support
- Topic: Arrow/TAB not working in tables
- Replies: 5
- Views: 16050
- Wed Apr 16, 2008 4:53 am
- Forum: Support
- Topic: loading a Unicode file line by line
- Replies: 21
- Views: 48971
Sorry, I do not understand what's wrong. In your example: Item[0] = 'LETHAL' IsFromNewLine = True , because the document starts from a new line, IsFromNewLine(0) is always true. Item[1] = character IsFromNewLine = False , because the character contunues the same paragraph as the previous item. Item[...
- Tue Apr 15, 2008 3:53 pm
- Forum: Support
- Topic: Center table.col
- Replies: 5
- Views: 17102
- Tue Apr 15, 2008 3:40 pm
- Forum: Support
- Topic: Pasting copied webcontent containing images and text doesn't
- Replies: 3
- Views: 9793
1) About pasting from web pages. Which browser do you use, and which web page do you copy? 2) About copying to email composers.That means that Outlook Express ignores images in pasted RTF content, and Thunderbird email composer does not paste RTF at all (pastes plain text). There is nothing I can do...
- Tue Apr 15, 2008 3:31 pm
- Forum: Support
- Topic: loading a Unicode file line by line
- Replies: 21
- Views: 48971
If there are two paragraph, each containing 1 item, both IsFromNewLine(0) and IsFromNewLine(1) are True. text := ''; for i := 0 to Editor.ItemCount-1 do begin if (i>0) and Editor.IsFromNewLine(i) then text := text + #13#10; if Editor.GetItemStyle(i)=rvsTab then text := text + #9 else if Editor.GetIt...
- Tue Apr 15, 2008 7:30 am
- Forum: Support
- Topic: loading a Unicode file line by line
- Replies: 21
- Views: 48971
- Mon Apr 14, 2008 5:30 pm
- Forum: Support
- Topic: Pasting copied webcontent containing images and text doesn't
- Replies: 3
- Views: 9793
There are several possible reasons why images are not inserted. 1) Images have formats unsupported by Delphi by default, for example gif and png. You need to use thirdparty graphic classes to support them (see http://www.trichview.com/forums/viewtopic.php?t=89) 2) Images are on a web server. They mu...
- Mon Apr 14, 2008 10:03 am
- Forum: Support
- Topic: Away message: out of office till April 13
- Replies: 3
- Views: 11332
- Thu Apr 10, 2008 2:36 pm
- Forum: ScaleRichView
- Topic: strange problems
- Replies: 3
- Views: 18365
Please send problematic doc files to [email protected]
- Wed Apr 09, 2008 6:04 am
- Forum: Support
- Topic: TRichView Multiple Thread Problem
- Replies: 13
- Views: 37966
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*...
- Tue Apr 08, 2008 4:03 pm
- Forum: Support
- Topic: loading a Unicode file line by line
- Replies: 21
- Views: 48971
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 ...
- Tue Apr 08, 2008 2:31 pm
- Forum: Support
- Topic: Several TextStyles in same line into Table.Cells
- Replies: 2
- Views: 8599
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...
- Tue Apr 08, 2008 2:21 pm
- Forum: Support
- Topic: loading a Unicode file line by line
- Replies: 21
- Views: 48971
- Mon Apr 07, 2008 2:09 pm
- Forum: Support
- Topic: loading a Unicode file line by line
- Replies: 21
- Views: 48971
- Sun Apr 06, 2008 7:58 am
- Forum: Support
- Topic: Center table.col
- Replies: 5
- Views: 17102