Add NODEFAULT:
thisform.text1.setfocus
NODEFAULT
>I put this code in the lostfocus event of a text control (text1):
>
>thisform.text1.setfocus
>
>but it doesn´t work. How can I return the focus in the control when I put the code in the lostfocus event of this control?
>
>Thanks
>
>Pedro
>****************************************************************
>Puse el siguiente código en el evento lostfocus de un control de texto (text1):
>
>thisform.text1.setfocus
>
>Pero no anda. ¿Cómo puedo devolver el foco a un control en el evento lostfocus del mismo control?
>
>Gracias por su atención
>
>Pedro
Edward Pikman
Independent Consultant