>> There's a way to create a autocomplete feature, the user begin type and see
>> grayed the possible matchs for that word (something like the auto complete
>> xtra) and when they stop to type or the word is finished, the translation
>> for that word appear in other window??
> The point is that you're likely to have a pretty big database, and very
> seldom will the user be able to type a word and get an automatic
> translation--he/she will usually need to select from a list of words. Some
> words that have very specific meanings will work ok, like "penguin." Check
> out the word "run," though, and you will find a couple dozen different
> meanings.
>
> It can be done, but I question whether Director is really the right
> environment. It sounds more like a C++ project. From your description, it
> doesn't sound like you're really planning to utilize Director's multimedia
> features very much. If that's true, it's probably not the right tool.
Actually. I just did that for a project (english/spanish, spanish/english
dictionary). The code isn't too complex, but not exactly simple, either. I
use a xml-ish tagging system rather than a database. 3,500 words on either
side, takes perhaps .4 seconds to auto-complete a word and show the
definition.
Now, as Kerry said, when you have two identically spelled words with
different definitions, the auto-complete will never allow you to get to the
second definition. We solved that by simply combining the definitions.
So, if what you are after is simply a searchable dictionary that
auto-completes an entry, I can help you out. Hell, I'll share the guts of
that with whomever wants to examine them (if anyone wants to look, just
email me off-list). If you are after a babelfish written in Dir, however,
I'm not bright enough for that.
-Kurt
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]