Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetFocus to itself?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00297727
Message ID:
00297841
Vues:
20
>Hey guys,
>
> I've been trying to set the focus back to its object but it doesn't seem to work...
> IF ISBLANK(This.Value)
> This.SetFocus
> ...
> I want my application to trap 0 or blank values before going to another object. I've tried to use the Valid Event but I do have a Cancel button. My cancel button wont activate until the 0 or blank object has a value. I need some suggestions.

Or another way to do it is just put

NoDefault

instead of This.Setfocus in the Lostfocus - that will stop it from moving.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform