Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calendar
Message
De
08/07/2003 13:07:26
 
 
À
08/07/2003 09:21:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00807875
Message ID:
00808095
Vues:
16
Hi Nick.

Is it easy to paste a selected date from the Microsoft calendar into a date field.

Piece of cake < s >. My pop up calendar form is a modal for with OK and cancel buttons and a custom tRetVal property. Code like this in the OK button:
WITH Thisform
  .tRetVal = .oCalendar.Object.Value
  .Release()
ENDWITH
This code in the unload:
RETURN Thisform.tRetVal
So the calendar form can be called like this (say, for example from the bdlClick of a date text box):
DO FORM GetDate WITH lnTop, lnLeft, This.Value TO luValue
This.Value = luValue
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform