On 13/06/2012 17:59, Mark Rauterkus wrote:
Hi LC Pros and the Rest of the world more experienced than me:

I am searching for a "navigation system" for my>200 card camp
attendance project. Pointers welcome.

I'm always intrigued by questions like this, because it gives me a chance to try out a new use case, which usually leads to me being impressed with LiveCode again.

My code is at http://its.ec/static/Namesearch.zip  (case is important).

I started at http://listofrandomnames.com to create the list of names I used.

The stack is saved with the names already in 200 cards. If you want to change the names, just make a new file with the names (one per line), and click on the 'load' button.

When the stack is opened you're shown card 1 with 200 names in a scrolling list. If you click into the single-line search box and start typing, the list dynamically updates.

Of course, this is an incredibly naive brute-force approach. The names are not sorted in any way, so each search is a linear top to bottom search.

Still, it's okay for a 30 minute hack job.

Hope someone finds it interesting.

-Ken

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to