PC Review


Reply
Thread Tools Rate Thread

DateTime picker optional field

 
 
George
Guest
Posts: n/a
 
      26th Feb 2004

The DateTime picker is an optional field on my form and
it should not contain a default value. Is there a way to
do this? I tried setting the Text property to "", but
that does not work.

Thanks in advance,
George
 
Reply With Quote
 
 
 
 
=?Utf-8?B?RGF2aWQ=?=
Guest
Posts: n/a
 
      1st Mar 2004
To my knowleder, there is no way to show a DateTimePicker control with no date in it; however, there is a property (ShowCheckBox) which you can set to True. When true, a small checkbox shows on the left side of the date area. This check box can be "unchecked" programatically to set the "No value" for the control. Note that some date will still appear in the control but it will be grayed out to indicate no value


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
datetime picker iccsi Microsoft Access Form Coding 1 4th Apr 2010 02:24 AM
datetime picker reset datetime after disable iccsi Microsoft Access Form Coding 0 4th Sep 2008 03:41 PM
datetime picker data in to date field =?Utf-8?B?SmFp?= Microsoft Access Database Table Design 0 3rd Jan 2006 10:40 PM
Using DateTime Picker ruca Microsoft ASP .NET 6 5th Mar 2004 12:14 PM
DateTime Picker Adrian Microsoft Dot NET Compact Framework 2 6th Oct 2003 06:20 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:57 AM.