Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

turning off the suggested words

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-24-2008, 08:02 AM
Senior Member
 
Join Date: Sep 2008
Location: Brisbane, Australia
Posts: 162
Default turning off the suggested words

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
Reply With Quote
  #2 (permalink)  
Old 10-24-2008, 02:22 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 993
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

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
Reply With Quote
  #3 (permalink)  
Old 10-25-2008, 12:19 AM
Senior Member
 
Join Date: Sep 2008
Location: Brisbane, Australia
Posts: 162
Thumbs up Thanks!

Thanks mate, I'll have a look at that

regards, Ricky
Reply With Quote
  #4 (permalink)  
Old 11-27-2008, 11:59 AM
Basic4ppc Veteran
 
Join Date: Apr 2008
Location: Gosford NSW Australia
Posts: 223
Send a message via MSN to tsteward
Default

Is there any way to turn word suggestion on and off at will?

I have one form where I would not like the suggestions.
__________________
PC: Dual core 3.4ghz 2gb ram
PPC: I-mate Jasjam
Reply With Quote
  #5 (permalink)  
Old 11-27-2008, 04:34 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 993
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Hello tsteward,

Quote:
Originally Posted by tsteward View Post
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
Reply With Quote
  #6 (permalink)  
Old 11-28-2008, 08:08 AM
Basic4ppc Veteran
 
Join Date: Apr 2008
Location: Gosford NSW Australia
Posts: 223
Send a message via MSN to tsteward
Default

I must be doing it all wrong. Can someone please help.

Here is my code(basically):
Code:
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
__________________
PC: Dual core 3.4ghz 2gb ram
PPC: I-mate Jasjam
Reply With Quote
  #7 (permalink)  
Old 11-28-2008, 10:40 PM
Basic4ppc Veteran
 
Join Date: Apr 2008
Location: Gosford NSW Australia
Posts: 223
Send a message via MSN to tsteward
Default

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?
__________________
PC: Dual core 3.4ghz 2gb ram
PPC: I-mate Jasjam
Reply With Quote
  #8 (permalink)  
Old 12-03-2008, 08:46 AM
Basic4ppc Veteran
 
Join Date: Apr 2008
Location: Gosford NSW Australia
Posts: 223
Send a message via MSN to tsteward
Default

Guess no one can help then
__________________
PC: Dual core 3.4ghz 2gb ram
PPC: I-mate Jasjam
Reply With Quote
  #9 (permalink)  
Old 12-03-2008, 04:37 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

You should use:
Code:
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.
__________________
Basic4android documentation
Reply With Quote
  #10 (permalink)  
Old 12-03-2008, 06:45 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 993
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Changing only this key works for me on a WM5 device.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Turning text box/label upside down stbi Questions (Windows Mobile) 1 04-16-2008 04:26 PM
Search rules and short words specci48 Forum Discussion 6 10-02-2007 01:24 PM


All times are GMT. The time now is 03:49 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0