Autocomplete like in FoxPro

Questions and answers for designing and implementing forms in Servoy

Autocomplete like in FoxPro

Postby maria » Wed Jul 18, 2012 8:30 am

Hi Guys,

Has anyone implemented an autocomplete feature in their Servoy solution?
I like how it is a property of a field that can be turned off and on in VFP (http://www.alvechurchdata.co.uk/foxautocomplete.htm).
Can we have something like that in Servoy? :D

Cheers,
Maria
maria
 
Posts: 424
Joined: Thu Apr 16, 2009 1:18 am
Location: Sydney

Re: Autocomplete like in FoxPro

Postby Peter de Groot » Wed Jul 18, 2012 9:29 am

Hi,

Have a look at the typeahead property of a textfield.

Regards

Peter
User avatar
Peter de Groot
 
Posts: 215
Joined: Thu Jan 10, 2008 8:38 pm
Location: Not sure...

Re: Autocomplete like in FoxPro

Postby omar » Wed Jul 18, 2012 9:44 am

Hi,

Indeed, when you use a TYPE_AHEAD field and combine it with a valuelist you will have this functionality. The only thing you will want to add is a mechanism that inserts new entries into the valuelist, using the solutionModel. If you want this behaviour for many fields then a table based valuelist seems like the way to go.

Greetings,
Intrasoft, Founder
Omar van Galen
omar@intrasoft.nl
+31-(0)6-21234586
Servoy Developer
omar
 
Posts: 377
Joined: Sat Feb 12, 2011 4:51 pm
Location: Intrasoft, The Netherlands

Re: Autocomplete like in FoxPro

Postby maria » Mon Jul 30, 2012 1:09 am

Yes, omar, we can certainly implement this as a type-ahead field with our own infrastructure but wouldn't it be nice to just have it as any other field property provided by Servoy :D

I'll file a feature request for this. After all Servoy is proud of making the transition from FoxPro easy and the autocomplete is a FoxPro feature.

Cheers,
Maria
maria
 
Posts: 424
Joined: Thu Apr 16, 2009 1:18 am
Location: Sydney

Re: Autocomplete like in FoxPro

Postby omar » Mon Jul 30, 2012 9:40 am

Ok, I agree :wink: +1
Intrasoft, Founder
Omar van Galen
omar@intrasoft.nl
+31-(0)6-21234586
Servoy Developer
omar
 
Posts: 377
Joined: Sat Feb 12, 2011 4:51 pm
Location: Intrasoft, The Netherlands

Re: Autocomplete like in FoxPro

Postby jasantana » Mon Jul 30, 2012 10:12 am

maria wrote:I'll file a feature request for this. After all Servoy is proud of making the transition from FoxPro easy and the autocomplete is a FoxPro feature.


Hi Maria.

Post a link of your request and we will vote for it.
Best regards,
Juan Antonio Santana Medina
jasantana@nephos-solutions.co.uk
Servoy MVP 2015
Servoy 6.x - Servoy 7.x - Servoy 8.x - MySQL - PostgreSQL - Visual Foxpro 9
User avatar
jasantana
 
Posts: 555
Joined: Tue Aug 10, 2010 11:40 am
Location: Leeds - West Yorkshire - United Kingdom

Re: Autocomplete like in FoxPro

Postby maria » Tue Jul 31, 2012 9:20 am

jasantana wrote:
maria wrote:I'll file a feature request for this. After all Servoy is proud of making the transition from FoxPro easy and the autocomplete is a FoxPro feature.


Hi Maria.

Post a link of your request and we will vote for it.


Cool!
Here is the link https://support.servoy.com/browse/SVY-2776
Thanks guys.

Cheers,
Maria
maria
 
Posts: 424
Joined: Thu Apr 16, 2009 1:18 am
Location: Sydney

Re: Autocomplete like in FoxPro

Postby jcompagner » Tue Aug 21, 2012 10:25 am

What is now the exact difference between just choosing for a TYPE_AHEAD and a TEXT_FIELD ?
What would that property do on a TEXT_FIELD that we don't have already on a TYPE_AHEAD?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Forms

Who is online

Users browsing this forum: No registered users and 6 guests

cron