turning off the suggested words

Ricky D

Well-Known Member
Licensed User
Longtime User
In my app I'd like to kill the suggestion words that popup when I type in one of my fields. In some instances the popped up list (up to 3 words) can cover the control I'm entering into.

Does anyone know how to kill this then restore it when the program ends?
I'm assuming it's in the registry but I don't know where to look.

regards, Ricky
 

specci48

Well-Known Member
Licensed User
Longtime User
Hello Ricky,

the registry entries for the word suggestion can be found here:
HKEY_CURRENT_USER\ControlPanel\SIP

The entry you are looking for is the following:
SuggWords = Number of Word/s to be suggested, set 0 to disable Word Suggestion


Cheers
specci48
 

Ricky D

Well-Known Member
Licensed User
Longtime User
Thanks!

Thanks mate, I'll have a look at that :)

regards, Ricky
 

tsteward

Well-Known Member
Licensed User
Longtime User
Is there any way to turn word suggestion on and off at will?

I have one form where I would not like the suggestions.
 

specci48

Well-Known Member
Licensed User
Longtime User
Hello tsteward,

Is there any way to turn word suggestion on and off at will?
as mentioned in post #1 you can set the registry entry SuggWords = 0 to switch it off and set it back to the "original" value if you leave the form.


specci48
 

tsteward

Well-Known Member
Licensed User
Longtime User
I must be doing it all wrong. Can someone please help.

Here is my code(basically):
B4X:
Sub App_Start
 registry.New1
 registry.RootKey(registry.rtCurrentUser)
end sub

Sub BacklinksForm_Show
 If cPPC Then
  registry.SetDWordValue("ControlPanel\SIP\SuggWords","DWORD Value", 0)
 End If
End Sub
 

tsteward

Well-Known Member
Licensed User
Longtime User
The above code causes my program to crash. Can someone confirm for me if my codeing is incorrect or should it work and I have another problem?
 

tsteward

Well-Known Member
Licensed User
Longtime User
Guess no one can help then :(
 

tsteward

Well-Known Member
Licensed User
Longtime User
You should use:
B4X:
registry.SetDWordValue("ControlPanel\SIP","SuggWords", 0)
Note that I see this key on a WM2003 device but not on a WM6 device.
I think that just changing the registry will not be enough.

Thanks Erel, that does fix my program error BUT it does not hide/remove the suggested words popup.

If I edit the registry whilst the program is running it does not take effect. If I edit the registry then run the program I have no popup list.

Guess I'll just have to put up with it. Not the end of the world I guess.
 
Top