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

Moderator: Rathinagiri

Post Reply
rubenalf
Posts: 27
Joined: Mon Jan 11, 2016 5:55 pm

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

Post 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?)
Attachments
Editex-demo_LostFocus.7z
(1.3 MiB) Downloaded 176 times
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

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

Post by Pablo César »

Ruben, your attached file is corrupted. All files in it are zero bytes and executable also corrpted.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Tiger
Posts: 74
Joined: Mon Aug 31, 2015 11:28 am
Location: Taipei

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

Post by Tiger »

This file is zipped with 7-zip and you can download it from http://www.7-zip.org/ to unzip it.
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

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

Post by Pablo César »

Thank you. It was that...

File is ok. Sorry.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Post Reply