Search found 7 matches

by Primvs
Mon Jan 15, 2007 10:11 am
Forum: Support
Topic: Copying table data from clipboard into RichView table
Replies: 2
Views: 10739

Silly me

Hey Sergey, sorry for bothering you- I copied only part of the function from one of the posts in this forum, and didn't notice, that rve was a function parameter. So, after my function was completed rve variable was pointing to nil, which of course caused AV. LP, Primoz It's hard to find bug in such...
by Primvs
Thu Jan 11, 2007 3:39 pm
Forum: Support
Topic: Copying table data from clipboard into RichView table
Replies: 2
Views: 10739

Copying table data from clipboard into RichView table

Hi! RichViewEdit's default behaviour when copying table (Excel/Word) from clipboard into table seems to be creating new table inside currently edited table cell. Is there a simple way to copy table data from clipboard into richview table cell by cell? I tried to bypass the problem by using template,...
by Primvs
Mon Dec 18, 2006 8:57 am
Forum: Support
Topic: Problem using RichView with LiveSpelling (MS Word)?
Replies: 6
Views: 20311

Pieter- You can find a basic idea at this link: http://delphi.about.com/od/kbcontrolole/l/aa032701a.htm Idea (and problem) is that you have to have MS Word installed on every client your application is running on, and it's settings have to be set to use the correct dictionary. From Delphi you Import...
by Primvs
Mon Dec 18, 2006 8:29 am
Forum: Support
Topic: Problem using RichView with LiveSpelling (MS Word)?
Replies: 6
Views: 20311

Hey!

Sergey, thanks. Sometimes it's hard to see the most obvious things. :D

Primvs
Sergey Tkachenko wrote:Primvs, may be you can create this object in the first call of this event, and reuse it in others?
by Primvs
Fri Dec 15, 2006 1:41 pm
Forum: Support
Topic: Problem using RichView with LiveSpelling (MS Word)?
Replies: 6
Views: 20311

Problem using RichView with LiveSpelling (MS Word)? II

Hey! Never mind- with a bit of the logic I think I solved it. The problem was, that I created SpellCheck object (wrapper to access MS Word COM) in main thread, and because of that I needed to call CoInitializeEx with COINIT_MULTITHREADED flags (so that COM object created in main thread could be used...
by Primvs
Fri Dec 15, 2006 10:12 am
Forum: Support
Topic: Problem using RichView with LiveSpelling (MS Word)?
Replies: 6
Views: 20311

Problem using RichView with LiveSpelling (MS Word)?

Hi! I am using spelling with TRichViewEdit. Because of customer's request I need to use MS Word speller through COM. Now- my spellingcheck event looks something like this: procedure TfmeTEXT.rveSpellingCheck(Sender: TCustomRichView; const AWord: string; StyleNo: Integer; var Misspelled: Boolean); va...
by Primvs
Tue Oct 25, 2005 1:57 pm
Forum: Support
Topic: Marking spelling errors in TRichViewEdit
Replies: 1
Views: 12017

Marking spelling errors in TRichViewEdit

Hey! I added live word spelling to TRichViewEdit. It validates words: 1. in dictionary 2. in a database from a list of "forbidden words" It works great, now the only problem is, that our client would like spelling errors to be shown differently if they are not in dictionary/are forbidden w...