Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DateBox class
Message
 
À
17/11/1998 11:19:27
Tim Hockin
Illinois State U - Residential Computing
Normal, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00158283
Message ID:
00158331
Vues:
17
>This works great - so long as the datatype in the Controlsource is not a Date
>type.

The only thing I can think of is to unbind the textbox on GotFocus, and re-bind it on LostFocus.

IOW, save the txt.ControlSource to txt.oControlSource, and txt.Value = DTOC(EVAL(txt.oControlSource)). On the way out, after you verify the date value, reset the txt.ControlSource and set the txt.Value = ldMyNewDateValue.

Caveat: untested....
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform