Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FYI : Setting datetimepicker value
Message
From
02/09/1999 11:50:37
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
02/09/1999 09:50:52
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00260511
Message ID:
00260641
Views:
21
>>I really want to use "value" in fact. Anyone that knows a way to make it work with "value" are wellcomed.
>>Cetin
>
>Cetin,
>
>If you plan to bind this control to a data field, you might as well give up now... it is not doable based on the way the control works.. and no one i have talked to has been able to get it to work.
>
>BOb
No I'm not using it to bind to a controlsource :) Apart from its "value" property, before I did that indirect though. In change event I set dData.value to :
ctod("^"+str(this.year,4)+;
	"/"+padl(this.month,2,"0")+;
	"/"+padl(this.day,2,"0"))
Now I hit another interesting problem and I could give up even w/o binding :)
The problem is that I couldn't set it to an empty date yet (.null. didn't work). In help it gives a range starting from year 1753. If this is the case how VBers have an empty date using this ? Set forecolor, backcolor to same ? I'd appreciate any help on this.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform