If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > datetimePicker checkbox

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-05-03, 07:40
luis_mg_oliveir luis_mg_oliveir is offline
Registered User
 
Join Date: Mar 2003
Posts: 2
Angry datetimePicker checkbox

I need to know as if he puts checkbox empty.

Using The Checkbox to Select No Date
The CheckBox property makes it possible to specify whether the control returns a date. By default, CheckBox is set to False and the control always returns a date.

To enable the user to specify no date, set the CheckBox property to True (for example, if you are using the DateTimePicker to enter the completion date of a project but the project has not yet been completed).

When CheckBox is set to True, a small check box appears in the edit portion of the control to the left of the date and time. If the box is not checked, the Value property returns a null value. If the user checks this checkbox, the control returns the displayed date through its Value property.

I need to know as if he puts checkbox empty.
Reply With Quote
  #2 (permalink)  
Old 03-27-03, 08:59
luis_mg_oliveir luis_mg_oliveir is offline
Registered User
 
Join Date: Mar 2003
Posts: 2
Talking Soluction

It stops for with null value, that is, to put check empty, is only enough to dtpiecker = null
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On