|
| WD22 - OpenSister without focus |
| Iniciado por guest, 03,may. 2018 17:46 - 4 respuestas |
| |
| | | |
|
| |
| Publicado el 03,mayo 2018 - 17:46 |
Hi all, i have a window that implement an assisted imput on edt control.
I use this code in "Whenever modifying" event: IF WinStatus(WIN_IW_Ricerca_Articoli)=NotFound THEN nXpos,nYpos is int nXpos=WIN_Movimenti_Magazzino..X+EDT_Codice_Articolo..X nYpos=WIN_Movimenti_Magazzino..Y+EDT_Codice_Articolo..Y+EDT_Codice_Articolo..Height+27 OpenChild("WIN_IW_Ricerca_Articoli, "+nYpos+", "+nXpos+AboveAll,EDT_Codice_Articolo) SetFocus(EDT_Codice_Articolo) ELSE WIN_IW_Ricerca_Articoli.CercaArticoli(EDT_Codice_Articolo) END Work fine but, after the first character the "SetFocus" select all text in "EDT_Codice_Articolo".
There is a method to Open the window without the focus on it? Or, there is a method to SetFocus without the total selection of a text?
Thanks |
| |
| |
| | | |
|
| | |
| |
| Publicado el 03,mayo 2018 - 17:49 |
| |
| |
| | | |
|
| | |
| |
| Publicado el 03,mayo 2018 - 17:53 |
Ohhhh yess....
I'm reading this article since yesterday...
Now you ar my best friend.... :cheers: thanks |
| |
| |
| | | |
|
| | |
| |
| Publicado el 03,mayo 2018 - 18:16 |
| Hope it works, i didn't test it |
| |
| |
| | | |
|
| | |
| |
| Publicado el 03,mayo 2018 - 18:21 |
| |
| |
| | | |
|
| | | | |
| | |
|