in reply to Autocompletion simulated in Tk

Hi!

You might be interested in Tk::MatchEntry.

Regards, mawe

Replies are listed 'Best First'.
Re^2: Autocompletion simulated in Tk
by Ace128 (Hermit) on Jul 16, 2005 at 13:15 UTC
    Alrighty! Just as I wanted! Thanks! However, I get kinda curious on the others mentioned. I wanna use "the best" one. And it seems like Tk::MatchEntry is the one to use, but if anyone else here knows if anyone of the following is better, please tell me:
    Tk::BrowseEntry
    Tk::HistEntry
    Tk::JBrowseEntry
    Tk::SelectionEntry

    Tk::MatchEntry is based on all those so I guess Tk::MatchEntry is the one I should go for...

    / Ace
      Hi!

      Well, they all behave a little different (as far as I understood the descriptions ;-)):
      Tk::MatchEntry: While you type into the entry, a list with choices pops up (I guess thats what you wanted).
      Tk::BrowseEntry: Well, that's just a Combobox, which doesn't really care about what you typed into the entry. Always the same items are shown in the list.
      Tk::HistEntry: This one remembers what you typed into the entry, so you can scroll back in history ;)
      Tk::SelectionEntry: I couldn't find this one :-/

      Hope this helps for your decision :)

      Regards, mawe

        Thanks man! Tk::MatchEntry it is then!