Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to blank date in grid?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00128332
Message ID:
00128544
Vues:
26
>>
>>Michael,
>>
>>RETURN .F. restores the value of the textbox to what it was b efore the Valid was called, RETURN 0 instead.
>
>Thanks, but this change does not seem to work as you advertise in this case (with VFP3.0 - if that matters). When a user enters an invalid date, the invalide date remains - whether I return 0 or .F. - it's just that they cannot get out of the cell until they correct or delete the value manually.
>
>Is it possible I need to refresh the displayed value somehow, or is there some mystical changed behaviour of a date cell in a grid????

Michale,

If your textbox is data bound then instead of assign the value property, change the value of the controlsource as in; Alias.Field = { / / }
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform