Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot call SetFocus from within LostFocus
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Cannot call SetFocus from within LostFocus
Divers
Thread ID:
00627605
Message ID:
00627605
Vues:
74
Bizarre behavior in VFP6sp5. On testing a form using a setfocus within a lostfocus event (to skip some boxes in the tab path) everthing works fine. When the form is run within the production environment it becomes the third form in a stack and fails the setfocus. The error is the usual 'Cannot call setfocus from within a When, Valid, RangeHigh or RangeLow event'. This is WITHIN a LOSTFOCUS event - the recomended location. Do any of you fine people out there know of a solution for this? What could be causing VFP to see this normal procedure as an error?

Thanks in advance.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform