Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetFocus() from within a LostFocus event acting strangely
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
SetFocus() from within a LostFocus event acting strangely
Divers
Thread ID:
00465934
Message ID:
00465934
Vues:
44
I have coded some setfocus() commands in a field's lostfocus. This seems to have an unexpected result in VFP6 service pack 4. The execution follows this path:

Field1.Valid start
Field1.Valid return

Field1.LostFocus start
execute field2.setfocus() in the lostfocus

Field2.when fires (as expected)
Field2.when returns

Field1.Valid fires (WHAT?)
Field1.Valid returns

Field2.Gotfocus fires
Field2.Gotfocus returns

Field2.when fires (what? when again AFTER gotfocus?)
Field2.when returns

Field1.LostFocus returns

We are now in Filed2 waiting for input.

Has anyone seen this before?

Weldon Adair
Weldon Adair
Adair Software Corporation
(561) 445-8091
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform