Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Force Focus to object
Message
 
À
10/07/2003 14:26:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00808943
Message ID:
00808970
Vues:
24
Try:
IF irmpok = .f.
thisform.txtirpm1.setfocus()
nodefault
ENDIF

Other approach may use textbox.valid, but instead of setfocus you will need to return numeric value(+/-) specifies the number of controls the focus advances (with +) or moves back (-).

>That's what I thought, but it is not working. Here is the code I have in the LostFocus area:
>
> IF irmpok = .f.
> thisform.txtirpm1.setfocus()
> ENDIF
>
>The variable irmpok is returning false, I did check that.
>
>txtirpm1 is the field I want to go to.
>
>Any ideas?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform