Problem with OnExit
Publicado: Sab Ene 22, 2005 12:02 am
Hola a todos,
I used the OnExit event to validate an input variable. As long as there
is no code within the method to handle the event, you can change to
another control. As soon as there is code within the method you can't
leave the edit field anymore:
METHOD editPasswordExit( oSender, oNextCtl ) CLASS formLogin
MsgAlert("Passwort prí¼fen")
// Validate password
RETURN Nil
This will lock the cursor in the edit field editPassword.
Any ideas? Thanks!
Christian
I used the OnExit event to validate an input variable. As long as there
is no code within the method to handle the event, you can change to
another control. As soon as there is code within the method you can't
leave the edit field anymore:
METHOD editPasswordExit( oSender, oNextCtl ) CLASS formLogin
MsgAlert("Passwort prí¼fen")
// Validate password
RETURN Nil
This will lock the cursor in the edit field editPassword.
Any ideas? Thanks!
Christian