Addict ActionTest demo with source

General TRichView support forum. Please post your questions here
Post Reply
pawnflakes
Posts: 49
Joined: Thu Jan 03, 2008 6:11 pm
Location: South-Africa

Addict ActionTest demo with source

Post 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
Sergey Tkachenko
Site Admin
Posts: 17571
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
Post Reply