Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setfocus
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00182267
Message ID:
00182310
Vues:
13
>Pierre,
>
>From where are you doing this? You cannot issue a SetFocus from within a Valid event. You can do it in the lostfocus event but you must issue a NODEFAULT to stop the default setfocus that VFP does after the lsotfocus event. You can also return 0 from the valid to retain focus in the current control.

Pierre,

Jim is right. Do some thing like:
ex: Dans le Valid du text box.
if THISFORM.seekprod(this.value,"cbo1", "tmprecette1")
return .t.
else
return .f.
endif
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform