Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datetime picker
Message
De
05/06/2001 16:04:56
 
 
À
05/06/2001 15:46:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00515353
Message ID:
00515377
Vues:
13
>>>does anybody know how to set the date on a DTPicker. hmmm...when I try to set the .value property I get on Error "Property in read only" !
>>>
>>>in the past I've noticed that there where 2 different base classes for the DTPicker in an applicaiton that I had - both native to VFP ( i think one was from an older version ). the one that i can get through the ActiveX menu is the poor one, and I can't seem to find the old one where this seems to work!
>>>
>>>thanks
>>>- jer
>>
>>Try dtpicker.object.value.
>
>need to set it, not get it

You didn't say if you tried this:

dtpicker.object.value = Datetime()

MS changed some things between versions on some ActiveX controls, so that what objects used to have a value property you could set directly, now have to go through the object property.
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform