PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Petrus Vorster on April 08, 2013, 11:56:11 AM

Title: Predictive Text
Post by: Petrus Vorster on April 08, 2013, 11:56:11 AM
Hi all

Do PB have away one can have predictive text in a textbox like in VB.Net?
Title: Re: Predictive Text
Post by: Wilko Verweij on April 08, 2013, 04:26:34 PM
I don't know about .NET, but I know other examples (let's say comparable to the keyword suggestions in FireFly). As far as I know you have to program that yourself, that is, I don't know of any buit-in feature for this. Ask Paul how he does it for the keywords...
Wilko
Title: Re: Predictive Text
Post by: Petrus Vorster on April 08, 2013, 06:09:34 PM
Thanks. In .Net its simply a case of linking a data column in your DB to a textbox and there you go, or a simple TXT file.
I would not even know where to start if i have to program that myself!!!
Will ask Paul.

Thanks!
Title: Re: Predictive Text
Post by: Rolf Brandt on April 09, 2013, 05:42:55 AM
Hi Petrus,

here is a little project to get you startet. The relevan code is in the TXT_CHANGE Event.
(Notice that it needs still a little code to handle the Backspace key etc.)

Rolf

PS:
The listbox is there only to show you the possible values in the string.
Title: Re: Predictive Text
Post by: Petrus Vorster on April 16, 2013, 03:27:39 PM
Thanks a million Rolf!
You have helped me so many times!!!!

Regards!
Title: Re: Predictive Text
Post by: Rolf Brandt on April 16, 2013, 03:30:25 PM
That's what I love about this forum. I myself too received so many quick and competent help from Paul and others. And Netiquette is still held up here.

Rolf