[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:
Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
MyDateTimePicker.PerformClick()
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.
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?