Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetFocus Method for Control Not executing
Message
De
16/03/1998 14:29:16
 
 
À
16/03/1998 13:37:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00084832
Message ID:
00084885
Vues:
38
Thank you for your input. It was a combination of NODefault and DODefault after the setfocus which solved the problem in my LostFocus Method.

IF pnreturn # 0 && Password Verfication failed, users was another try
This.SetFocus
NoDefault
ELSE && Password Verfied, move on to weekending date
DoDefault()
RETURN

***************

Thanx again.

Fred Lauckner
<>

BTW. I was using the LostFocus Method because my validation routine calls a custom form like messagebox (but with a Timeout). In the INIT of the custom messagebox, I issue a conditional setfocus command. This throughs an error because VFP doesn't allow SetFocus from When, Valid, RangeHigh or RangeLow event.
Fred Lauckner

You know, it works on my computer. I don't know what your problem is.

.Net aint so bad.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform