Autocomplete a field similar to browser URL bar

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
kaveh1000
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 539
Joined: Sun Dec 18, 2011 7:23 pm
Contact:

Autocomplete a field similar to browser URL bar

Post by kaveh1000 » Tue Apr 14, 2015 12:32 am

I have searched a bit but can't find exactly what I want.

I have a list of words or phrases. I want a user to start typing and any phrases starting with the letters already typed would be added to a live list below the field. The behaviour in the URL bar of a browser like Chrome is exactly what I am after.

I have written a script and I think I can do it that way but wonder if there is a built in method.

Thanks.
Kaveh

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10331
Joined: Wed May 06, 2009 2:28 pm

Re: Autocomplete a field similar to browser URL bar

Post by dunbarx » Tue Apr 14, 2015 2:44 am

Hi.

You have to roll your own here. Sounds like a fun project. Why not post your code?

Craig Newman

kaveh1000
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 539
Joined: Sun Dec 18, 2011 7:23 pm
Contact:

Re: Autocomplete a field similar to browser URL bar

Post by kaveh1000 » Tue Apr 14, 2015 8:01 am

OK, just wanted to check.

Sure, will clean up code and upload...
Kaveh

Post Reply