Hi, I'm looking for a way to provide my users with a google-like text input. Let me explain ... the moment the user starts to type a command into a texteditor I would like the system to preview the possibilities as a gray preview into the editor ...
Is this possible ?
thanks, Wim
Hi Wim,
What you could do is use UltraComboEditor or UltraCombo with AutoSuggest. You would have to provide a list of matching words, of course, but you could hide the DropDown button on the control and also handle the BeforeDropDown event to prevent the user from seeing the list via the keyboard.
Hi Mike, I was looking in that direction too but I encounter an irritating problem ...
Let's say I have a item with a DisplayText of "Launch item >>>> ". As long a I use the displaytext as defined I get an .SelectedItem that is not null ... If, at runtime, I type "Launch item >>>> 1" ... I get a SelectedItem that is NULL... so I would have to decompose the Textproperty in order to find the matching Item...
Is there a possibility to know the item I used as "a template" ?
I hope I am clear ?
Wim
I'm afraid I do not understand what you mean. If the user enters text that does not match any item on the list, then you will get a null value in the combo. The Text of the combo should still return the text the user typed, though, as long the DropDownStyle is DropDown and not DropDownList.
that's exactly what I mean ... I understand that I get a null-reference ... it even seems logical but it forces me to loop over the available items and check the text-parameter myself...
thanks anyway ...