Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid, Not Updating with ThisForm.Refresh
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00380349
Message ID:
00381007
Vues:
33
>>The RecordSource is a table, and I am doing the SetFocus from within the StartEdit method. I think where I may be getting into trouble is the fact that the Call Stack starts with the grid txtBox.Valid and then the method gets called under that.
>
>Try moving the all the Valid code to the Lostfocus instead, for now, see if that helps it.



Bruce: Thanks. Moving code to LostFocus helped -- no more error condition. Now I'm getting real close to the form behaving as I want it to. One more little anomaly: When the grid gets the Focus, the txtBox.LostFocus fires again, and the cursor gets advanced to the next field to the right. If I could just get rid of this behavior, it would be as it should. That is, the cursor positioned on the 1st txtBox, awaiting corrected input from the user. TIA.
Chuck Henry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform