How simulate apply key Cursor-Right

Posted by Admin on 06-May-2010 10:16

Hi,my english is very bad (I'm spanish), sorry..

I need that when we focus on a combo I simulate pressing the "Cursor Right" keyboard.

All Replies

Posted by pkavuri on 06-May-2010 10:46

To achieve this you need to generate click event from getfocus event. But, this is not std. Practice I don't know why you need this.

---

Sent from my BlackBerry.

Posted by Admin on 06-May-2010 11:15

Because I'm doing a combo to do an automatic search.
To do this when you write the third character in the combo, this must be desplagar with the results, but you can keep writing.
What happens when it does drop down, put the light bulb in the combo and if you keep writing you erase what you had already written, so I want to pretend that you have given the CURSOR-RIGHT to continue writing

(Porque estoy haciendo un combo que haga una busqueda automatica.
Para ello cuando escribes el tercer caracter en el combo, este se tiene que desplagar con los resultados, pero tu puedes seguir escribiendo.
Lo que pasa que cuando se hace el drop down, se pone el foco iluminado en el combo y si sigues escribiendo te borra lo que ya tenias escrito, por eso quiero simular que le has dado al CURSOR-RIGHT para poder seguir escribiendo)

Posted by jquerijero on 10-May-2010 17:27

On the third character you can call

MyCombo:PerformAction(Infragistics.Win.UltraWinGrid.UltraComboAction:DropDown).

This thread is closed