Results 1 to 4 of 4

Thread: DateTimePicker on User Control

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2001
    Posts
    2

    DateTimePicker on User Control

    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.

  2. #2
    Hyperactive Member
    Join Date
    Feb 2003
    Posts
    263
    Hi

    R U Inheriting from the dtp control or usercontrols?

    Danny

  3. #3
    Member
    Join Date
    Sep 2002
    Location
    Cincinnati, OH
    Posts
    44
    It is one of the weeknesses of the datapicker control

  4. #4
    Member
    Join Date
    Sep 2002
    Location
    Cincinnati, OH
    Posts
    44
    Please excuse my spelling.
    Jim Webster

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width