Results 1 to 2 of 2

Thread: [2005] Use button to open datetimepicker

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2005
    Posts
    1,950

    [2005] Use button to open datetimepicker

    I have a row of buttons with icons and I'd like to use a button to open a DateTimePicker (because and the DateTimePicker I have is the lemon in the fruitbowl).

    Is there a way I can do...
    VB Code:
    1. Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    2.         MyDateTimePicker.PerformClick()
    3.     End Sub
    because there is no PerformClick Click event. I can hide the Picker under a button, but somehow I need to get it to open from a button click.

  2. #2

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2005
    Posts
    1,950

    Re: [2005] Use button to open datetimepicker

    Alternatively, is there a way by clicking a button I can pop up the picker in a separate form?

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