WPCubed Product Support

UserDictAdd

The following is one of the many configuration attempts but I still cannot get WPSpell to read from a USERDICT.DIC file in the \MyINI directory. Can someone see what I am missing or point me to an example file that uses userDictAdd? Thanks. Tom

//the following is within TfrmMain.FormCreate
wpSpellController1 := TWPSpellController.Create(self);
wpSpellController1.PersistencyMode := wpUseINIFile;
wpSpellController1.UserDictAdd('I:\wptests\MyINI');
wpSpellController1.Active := TRUE;
wpSpellController1.LoadSetup(True);

The TWPSpellController has Persistency Mode set to upUseINIFile, all other settings are default.

#1 ♥ 0
2.4k Views 2 users read 1 min
support

Hi,

I would recommend to call UserDictAdd AFter the LoadSetup and with a fully qualified filename, not a directory.

Julian

#2 ♥ 0
This category is archived. No new posts are possible.