Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass datepicker to textbox
Message
De
06/12/2004 04:01:31
 
 
À
05/12/2004 10:14:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00966969
Message ID:
00967061
Vues:
8
Paul,

First of all Date Picker does not have a Value property, I believe.

Put the ff code in the Changed event:
LOCAL lcMonth, lcDay, lcYear, ldDate

WITH This
  lcMonth = STR( .Month, 2 )
  lcDay   = STR( .Day, 2 )
  lcYear  = STR( .Year, 4 )
  ldDate  = CTOD( lcMonth +"/"+ lcDay +"/"+ lcYear )
  ThisForm.Text1.Value = ldDate
ENDWITH
Hope to help,

Dennis

>Hello,
>
>In my Thisform change procedure of OLECONTROL1, I put this codes in but
>always give an error " Property value is not found "
>I can pick the date calendar from Active X control olecontrol1 but never pass to my thisform.Text1.value .
>
>
>local idDate
>idDate = ttod(thisform.olecontrol1.Value)
>store idDate to thisform.Text1.Value
>
>
>Please advise me or correct my codes.
>TIA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform