[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Addict 2->3 conv. Q
- To: <address@hidden>
- Subject: RE: Addict 2->3 conv. Q
- From: "Addictive Software" <address@hidden>
- Date: Tue, 27 Feb 2001 02:12:36 -0800
- Delivered-to: mailing list addict3list@mlm.addictive-software.com
- Importance: Normal
- In-reply-to: <3A9A76DC.9364.E2C43C@localhost>
- Mailing-list: contact addict3list-help@mlm.addictive-software.com; run by ezmlm
- Reply-to: <address@hidden>
> with version 2 I had a menu in my application that showed all
> available dictionaries and those loaded were checked. To implement
> this I accessed
>
> Tmain(AddictSpell1.Config.Main.Items[i]).title
> Tmain(AddictSpell1.Config.Main.Items[i]).loaded
>
> With V3 it seems that AddictSpell1.Configuration.MainDictionaries
> only holds the active dictionaries. How do I get a list of known
> dictionaries (either all known or all know that are inactive).
All known dictionaries are available through the ConfigAvailableMain
property.
> Did I make myself clear? Well, I simply need the information visible in
> the setup dialog. The name and the filename of all dicts and if it is
> active or not.
Whether or not it is active can be determined by seeing if the dictionary is
in the Configuration.MainDictionaries property.
> Then, I'd appreciate a pointer on how to programmatically
> load/unload a dictionary. With v2 I did this by changing
> Tmain(AddictSpell1.Config.Main.Items[i]).loaded then saving and
> reloading the configuration, but maybe there is a more elegant way
> now.
Simply add or remove the dictionary from the Configuration.MainDictionaries
property.
Best Wishes,
Michael Novak
Addictive Software
address@hidden
http://www.addictivesoftware.com
Please visit Addict Home Site.