RvDxSpellChecker in cxTRichViewEdit

General TRichView support forum. Please post your questions here
Post Reply
11111
Posts: 25
Joined: Sat Feb 07, 2015 12:02 pm

RvDxSpellChecker in cxTRichViewEdit

Post by 11111 »

Hi,

How to assign items from RvDxSpellChecker popup to popup associated with cxTRichViewEdit ?
Sergey Tkachenko
Site Admin
Posts: 17571
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

For cxTRichViewEdit, items are added in its popup menu automatically
(if you did not undefine RVUSECXTRICHVIEW in RVDXSpell.pas)

You just need to process its OnSpellingCheck event, where you should check the word using RvDxSpellChecker.IsMisspelled.

Important: before live spelling is started, call RvDxSpellChecker.UpdateRules
11111
Posts: 25
Joined: Sat Feb 07, 2015 12:02 pm

Post by 11111 »

I guess, you don't understand my question.
I'll try in russian )

Если использовать cxTRichViewEdit в голом виде, то RvDxSpellChecker сам автоматически создаёт меню для cxTRichViewEdit, а если у cxTRichViewEdit уже есть присвоенное меню, то RvDxSpellChecker в нем ничего не создаёт, даже если у RvDxSpellChecker в свойстве popupmenu прописать это popup меню.

Мой вопрос: как в своё popup меню контрола cxTRichViewEdit встроить в виде подменю спелинговое меню из RvDxSpellChecker ?

Sorry for my bad russian )
Post Reply