Hi all,
i have a window that implement an assisted imput on edt control.
I use this code in "Whenever modifying" event:
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
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