combo box messages

David C. davidocoker at gmail.com
Sat Jun 5 19:07:52 EDT 2010


> A problem was posted to the forums. SomeOne wanted to type text into a
> field, and have that text dynamically located among the lines of another
> scrolling list field such that closer and closer matches are found as the text
> entry gets longer.


I put together a very simple stack that "kind of" does what he was looking for:
http://www.docstoolchest.com/Predictive.rev

It's a bit "hackish" with the hidden fields and can probably be coded
more elegantly, but filtering the text seems to do pretty well in my
testing with Win 7. Although I haven't done so, you can probably grab
the coordinates for the cursor position and have it pop up along side
each time.


Best regards,
David C.



More information about the use-livecode mailing list