Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calendar
Message
De
04/05/2000 18:01:14
 
 
À
04/05/2000 11:55:22
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00366140
Message ID:
00366359
Vues:
12
Hello Steven,

I display the Calendar in a form with to buttons. One labeled "Use Date", the other "Close Calendar". When the user clicks on the "Use Date" I execute:
HldMonth = ThisForm.Olecontrol1.Month
HldDay = ThisForm.Olecontrol1.Day
HldYear = ThisForm.Olecontrol1.Year
*
HldDate = STR(HldMonth,2,0)+'/'+STR(HldDay,2,0)+'/'+STR(HldYear,4,0)
*
Replace Schedule.FromDate with CTOD(HldDate)
*
"Schedule.FromDate" is obviously the textbox that I'm filling with the date the user picked.

Good Luck. Hope this helps.

Paige
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform