Lost Focus on "h_edit_ex.prg" (Edit Extended)
Posted: Tue Mar 07, 2017 2:58 am
Hi
This problem is with "h_edit_ex.prg" (Edit Extended)
The event "ON LOSTFOCUS" issue the name and value of the control loosing focus.
At least this is the way that it works when you click the mouse or hit the "TAB" key.
But when you use the "RETURN" key you get the name and value of the next control getting focus instead.
You can see it on the demo attached with the help of a "MsgBox()" (By the way: Why is it shown twice?)
________________________
Hola
Este problema es con "h_edit_ex.prg" (Edit Extended)
El evento "ON LOSTFOCUS" proporciona el nombre y el valor del control que pierde el foco.
Al menos asi funciona cuando se hace clic en el ratón o se pulsa la tecla "TAB".
Pero cuando se utiliza la tecla "RETURN", en lugar de eso se recibe el nombre y el valor del siguiente
control que obtendrá el foco. Se puede ver en el demo adjunto con la ayuda de un "MsgBox ()".
(Por cierto: ¿Por qué lo muestra dos veces?)
This problem is with "h_edit_ex.prg" (Edit Extended)
The event "ON LOSTFOCUS" issue the name and value of the control loosing focus.
At least this is the way that it works when you click the mouse or hit the "TAB" key.
But when you use the "RETURN" key you get the name and value of the next control getting focus instead.
You can see it on the demo attached with the help of a "MsgBox()" (By the way: Why is it shown twice?)
________________________
Hola
Este problema es con "h_edit_ex.prg" (Edit Extended)
El evento "ON LOSTFOCUS" proporciona el nombre y el valor del control que pierde el foco.
Al menos asi funciona cuando se hace clic en el ratón o se pulsa la tecla "TAB".
Pero cuando se utiliza la tecla "RETURN", en lugar de eso se recibe el nombre y el valor del siguiente
control que obtendrá el foco. Se puede ver en el demo adjunto con la ayuda de un "MsgBox ()".
(Por cierto: ¿Por qué lo muestra dos veces?)