Hi all,
I have a few ideas, which absolutely could help me with using ultraComboEditor:
- auto complete for language diacritics - a want to just type á and get all items with á, a, ä, ...
- get list of suggested items programatically - i want to know what is first in list after i typed something
- some event for move from text field to suggested list - i want to know when user press down key
- and triple click - first click to text do classic, double click select word, triple click select whole text in text edit
Are these ideas possible in some way?
Hi Marcel,
marcel granak said:- auto complete for language diacritics - a want to just type á and get all items with á, a, ä, ...
I can't immediately see any reason why this should not work. If it's not working, it may be a bug. I can't say I've ever tried it, though. I'm not sure how you would even go about typing one of these characters - there are none on an English keyboard. So I assume you have to use different regional settings. Can you post a small sample with instructions explaining how to duplicate the issue?
marcel granak said:- get list of suggested items programatically - i want to know what is first in list after i typed something
While there is no built-in function for this, you could easily loop through the list and find a set of matching items.
marcel granak said:- some event for move from text field to suggested list - i want to know when user press down key
That's an unusual request. What would the purpose of this be?
marcel granak said:- and triple click - first click to text do classic, double click select word, triple click select whole text in text edit
I'm not sure if this is possible. Windows has support for clicking and double-clicking, but not triple clicking. You might be able to acheive this by trapping the MouseDown and using a timer to see if the clicks occur in a certain space of time. But the built-in double-click and click behavior might interfere.
Mike Saltzman said:I can't immediately see any reason why this should not work. If it's not working, it may be a bug. I can't say I've ever tried it, though. I'm not sure how you would even go about typing one of these characters - there are none on an English keyboard. So I assume you have to use different regional settings. Can you post a small sample with instructions explaining how to duplicate the issue?
Yes, you are right. I use Czech keyboard. To type some, try one of this codes: Alt+0225 {á}, Alt+0228 {ä}, ...
Mike Saltzman said:That's an unusual request. What would the purpose of this be?
This should help me with feature explained like this: "User can type something like this 'dai'... than he press the down key to list for his suggested values ... but than he realized, that he want's something like 'day' ... but in the text box he has value from suggested list like 'daixyzxyz xyz'... so he press backspace, but i want get 'dai' back (backspace erase only one character)" ... just simple...
I tried this out (the diacritics) and it works fine for me. I am attaching my sample project here. Just run the sample and type Alt+0225 and the AutoSuggest comes up just as it should. If this is not working for you, then my best guess is that this was a bug in an old version of NetAdvantage and you need to upgrade. You could try getting the latest Service release, first, and see if that help.
Regarding the event, there is no such event right now. I have asked Infragistics Developer Support to enter a feature request into our system and maybe such an event can be added to the controls in the future.
Oh, I see. So you want the AutoComplete to essentially ignore the diacritics? There's currently no way to do that. Once again, I will as Infragistics Developer Support to enter this as a new feature request.
Hi Mike,
Mike Saltzman said: tried this out (the diacritics) and it works fine for me. I am attaching my sample project here. Just run the sample and type Alt+0225 and the AutoSuggest comes up just as it should. If this is not working for you, then my best guess is that this was a bug in an old version of NetAdvantage and you need to upgrade. You could try getting the latest Service release, first, and see if that help.
I'm so sorry but i think that here is some misunderstanding. Your sample works perfectly. My idea was quite other... I want for typed 'a' get both values in the list, so with diacritics and without. I pasted here some pictures about this: http://sdrv.ms/1836lRf
Simply for 'a' i want get suggested values: 'a' and 'á' together ... and vice versa, too.
BTW: I'm using NetAdvantege 13.1
Mike Saltzman said:Regarding the event, there is no such event right now. I have asked Infragistics Developer Support to enter a feature request into our system and maybe such an event can be added to the controls in the future.
This would be perfect. Thank you for your initiative and help.