PDA

Click to See Complete Forum and Search --> : DateTimePicker on User Control


SteveTR
Jul 24th, 2001, 05:28 PM
Has anyone successfully set the Value property of a DateTimePicker control to Null when the DateTimePicker Control is part of a User Control? I've set the the CheckBox property True (which is required for the DateTimePicker control to accept Null values) This works when the DateTimePicker control is put directly on a form, but generates a run time 830 error when the .Value is set as part of the User Control Function. My user control has a Value method, but VB seems to determine the scope OK because the error is generated within the User Control Value method.

dannywooly
Jul 23rd, 2003, 08:27 AM
Hi

R U Inheriting from the dtp control or usercontrols?

Danny

jwebster03
Jul 23rd, 2003, 01:13 PM
It is one of the weeknesses of the datapicker control

jwebster03
Jul 23rd, 2003, 01:14 PM
Please excuse my spelling.