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)
Moderator: Rathinagiri
Lost Focus on "h_edit_ex.prg" (Edit Extended)
- Attachments
-
- Editex-demo_LostFocus.7z
- (1.3 MiB) Downloaded 176 times
- 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)
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
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Re: Lost Focus on "h_edit_ex.prg" (Edit Extended)
This file is zipped with 7-zip and you can download it from http://www.7-zip.org/ to unzip it.
- 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)
Thank you. It was that...
File is ok. Sorry.
File is ok. Sorry.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein