Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to set the defalult date of the olecontrol
Message
 
À
11/10/2012 00:59:46
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01554479
Message ID:
01554758
Vues:
26
>Hi,
>Problem solved,
>
>it should be,
>
>
>
>DateTimePicker.object.value = datetime()
>
>
>
>On the other hand, let say if I key in the date 24/10/2012 directly,
>the cursor cannot auto locate to month position, it need me to press Right Arrow key
>to move the cursor to month position, after that it need me to press Right Arrow key again to
>move the cursor to Year position.
>
>How to skip to press the Right Arrow key, I want to input 24102012 directly.
>
>Please advise.
>
>Thanks.
>Derek

I never worked with that control :-)
So:
DateTimePicker.object.value = DATETIME(2012, 10, 24)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform