Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loose StrictDateEntry
Message
 
 
À
28/01/2005 13:49:00
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
00981831
Message ID:
00981841
Vues:
39
I found the problem. KD format doesn't allow to change time portion. What is the format for the datetime? But without format I can enter anything in the textbox, like "Nancy", for example.

BTW, KD format allows to enter time portion if StrictDateEntry = 1. Looks like some bug to me.

>Nadya-
>
>>I'm not sure, I follow. What exactly did you do to be able to change it? I just placed a textbox on the form, set this.value = dtot({}) in the init method and set StrictDateEntry = 0 in the properties sheet. And now I can not edit the time portion. What should I change to be able to edit it?
>
>I changed my example to do what you explain--it would have been nice to know this from the first, btw--and it still works fine. What is your set century? Are you trying to enter the time portion in the century portion? Try initializing the field to DateTime() to see more clearly where to put the digits.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform