trichview.com

trichview.support




Re: Testing Actions demo


Return to index


Author

Message

Sergey Tkachenko

Posted: 12/08/2004 10:51:30


Place RVAddictSpell31: TRVAddictSpell3 component on form, assign

RVAControlPanel1.RVAddictSpell3 = RVAddictSpell31.


Process RichViewEdit1.OnSpellingCheck event:


procedure TForm3.RichViewEdit1SpellingCheck(Sender: TCustomRichView;

  const AWord: String; StyleNo: Integer; var Misspelled: Boolean);

begin

  Misspelled := not RVAddictSpell31.WordAcceptable(AWord);

end;


See other commented code in Unit3.pas



> Well I can finally get it compiling and by placing the dictionaries next

to

> the executable I can see the words which need spel checking.. Now how do I

> make the correction options appear in the RVAPopupmenu actionlist?

> Alan

>

>

> "Sergey Tkachenko" <[email protected]> wrote in message

> news:[email protected]...

> > There are two possible reasons for this error:

> > - duplicate versions of Addict3 packages in different directories

> > - not updated (not recompiled) packages.

> >

> > 1) Uninstall Addict3_RichView_d7.dpk packages and Addict3 packages (menu

> > Components | Install Packages)

> > 2) Make sure that there are no duplicate files of Addict3 packages.

Delete

> > *.DCP and *.BPL files of Addict3 packages (or move to some place where

> > Delphi will not be able to find them). They may be found in <delphi

> > dir>\Projects\Bpl and/or in Addict3 subdirectories.

> > If you have a source code (*.PAS) of Addict3 packages, also remove all

> *.DCU

> > files for them.

> > 2) Install Addict3 package

> > 3) Install Addict3_RichView_d7

> > 4) Make sure that Addict3_RichView_d7 is included in "requires" section

> for

> > rvActionsRunD7 (if not, include it)

> > 5) Compile rvActionsRunD7 and move it to windows\system32

> > 6) Install rvActionsD7

> >

> > > I've been trying to install the actions demo.

> > > I am already an owner of Addict3 so I followed the instructions of

> > removing

> > > the dot from the USERVAQDDICT3 define.

> > > I have successfully installed the ad3RichViewCompnts.

> > > But when I try to compile rvActionsRunD7.dpk I get

> > > [Fatal Error] Addict3_RichView_d7.dpk(39): Unit ad3RichViewCmpnts was

> > > compiled with a different version of ad3SpellBase.TAddictSpell3Base

> > > Now I have the latest Addict3 installed so it seems I need to

recompile

> > > something - but I can't work out what. Since I thought I was

recompiling

> > it

> > > now.

> > > An ideas anyone?

> > > thanks

> > > Alan

> > >

> > >

> >

> >

>

>





Powered by ABC Amber Outlook Express Converter