Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Cannot call SetFocus from within LostFocus
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement