Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datetime picker
Message
From
05/06/2001 16:04:56
 
 
To
05/06/2001 15:46:24
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00515353
Message ID:
00515377
Views:
12
>>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform