Page 1 of 1

Lost Focus on "h_edit_ex.prg" (Edit Extended)

Posted: Tue Mar 07, 2017 2:58 am
by rubenalf
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?)

Lost Focus on "h_edit_ex.prg" (Edit Extended)

Posted: Tue Mar 07, 2017 9:57 am
by Pablo César
Ruben, your attached file is corrupted. All files in it are zero bytes and executable also corrpted.

Re: Lost Focus on "h_edit_ex.prg" (Edit Extended)

Posted: Tue Mar 07, 2017 10:43 am
by Tiger
This file is zipped with 7-zip and you can download it from http://www.7-zip.org/ to unzip it.

Lost Focus on "h_edit_ex.prg" (Edit Extended)

Posted: Tue Mar 07, 2017 10:54 am
by Pablo César
Thank you. It was that...

File is ok. Sorry.