[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Addict 2->3 conv. Q



Hi,

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).

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.

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.

Thanks for your help!
Marcus


*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~
Marcus Moennig - address@hidden
*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~


Please visit Addict Home Site.