Page 1 of 1

Addict ActionTest demo with source

Posted: Tue Apr 07, 2009 6:32 pm
by pawnflakes
Hi again Sergey

I'm using the Addict spell checker with DBSRichviewedit. I downloaded adtv3.zip from http://trichview.com/resources/#spell. In the demo folder there is a Simple and Advanced demo. The adavanced demo only has a readme.txt stating that the source can be obtained from http://www.trichview.com/resources/actions/. Only the compiled demo is available at http://trichview.com/resources/#spell which uses Addict 4 spell checker. Is it possible to post the source of this demo? I would really appreciate it.

Thank You

Posted: Thu Apr 09, 2009 12:59 pm
by Sergey Tkachenko
First, you need to compile RichViewActions with support of Addict.
1) Install the package from adrv3.zip
2) If you already installed RichViewActions and ScaleRichView packages, uninstall them.
3) Open RichViewActions.inc and remove dot from the line {.$DEFINE USERVADDICT3}. Save.
4) Install RichViewActions again (Delphi will ask to add addict packages in "requires" of the RichViewActions package, answer yes).
5) Install ScaleRichView.

Open the demo in Demos\ActionTest\ (from ScaleRichView demos).
Add RVAddictSpell31: TRVAddictSpell3 on the form, assign it to RVAControlPanel1.RVAddictSpell3.
In the dmActions datamodule, add rvActionAddictSpell31: TrvActionAddictSpell3 in the action list (menu "New standard action...").
Assign this action to some menu item in the main form.

Besides, search for "Addict3" in the main unit's code. You'll find a commented code which should be uncommented if you use Addict3/4.