Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data entering for DATE
Message
De
18/03/2007 14:31:45
Reza Meamar
Homa Programming Group
Shiraz, Iran
 
 
À
18/03/2007 10:05:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Divers
Thread ID:
01204943
Message ID:
01205236
Vues:
19
>Try this:
PROCEDURE Text1.Init
>    THIS.Value = DATE ()
>ENDPROC
>
>PROCEDURE Text1.LostFocus
>    LOCAL ldDate AS DATE
>    ldDate = THIS.Value
>    SET DATE YMD
>    THIS.Value = DATE (YEAR (ldDate), MONTH (ldDate), DAY (ldDate))
>ENDPROC
HTH

but in this case, date arrangment changed when text1 getfocus and lostfocus.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform