Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
D Format analogue for the datetime field
Message
 
 
À
16/12/2005 08:36:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01078457
Message ID:
01078622
Vues:
10
>You can add a property to your class that will store the field's name (you can probably just use .cControlSource).
>
>Unbind the control, maybe set the input mask to 99/99/9999 99:99:99.
>
>Have the textbox refresh display the value
>* refresh method
>this.value = ttoc(eval(this.cControlSource))
>
>Have the valid write the textbox's value to the actual field (replace
>* valid method
>* first validate the value is good....
>* then write the value to the table
>replace (this.cControlSource) with ctot(this.value)
>
>
Thanks, I think I need a separate time class. I may either go with this idea or try a container based class.
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform