Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text.value
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00466578
Message ID:
00466586
Vues:
11
>I have the following situation: I have a grid which contains several text boxes. In the afterRowColchange event I have a methods that check to see if anything has changed and it so calls the save routine. In the save routine I have code that check to see if the oldval of the control is not equal to the value of the textbox. However I have notice that if I am sitting in the textbox before changing row the value of the textbox.value has not change even though I have changed it - the controlvalue has changed. Is this a bug in FoxPro. However it I tab out of textbox before changing row then the value of the object.value has changed.

Not a bug. It's how it works. We have a routine that informs the user they are about to leave a form with unsaved data and had to force focus to a "dummy" control so the last control a user may have changed loses focus and is updated.

Steve
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform