[2005] MonthCalendarControl
I have one monthcalendarcontrol that I want to use to select a Pay Period begin and a Pay Period end date.
Can I have the user pick a begin date, then display that in one textbox, then have the user pick an end date and display that in a separate textbox or would I have to have two month calendar controls to display the start and end dates in two separate textboxes?
Re: [2005] MonthCalendarControl
Oh wait. I see how this control works. you have to pick a start date, then drag the cursor to the end date. I was thinking of just clicking on a start date then clicking on an end date. Maybe this is just as good if not better. Hmm. I kind of don't envision a user knowing to do this though.
Re: [2005] MonthCalendarControl
add context help to your app.
try this
Re: [2005] MonthCalendarControl
Code:
Private Sub MonthCalendar1_DateSelected(ByVal sender As Object, ByVal e As System.Windows.Forms.DateRangeEventArgs) Handles MonthCalendar1.DateSelected
Me.TextBox1.Text = Me.MonthCalendar1.SelectionStart
End Sub
Re: [2005] MonthCalendarControl
Quote:
Originally Posted by .paul.
That's a cool idea.
Re: [2005] MonthCalendarControl
Experience has taught us that having two drop down calendar controls seem to be the most intuitive and expected interface.
-tg
Re: [2005] MonthCalendarControl
Quote:
Originally Posted by techgnome
Experience has taught us that having two drop down calendar controls seem to be the most intuitive and expected interface.
-tg
What do you mean by drop down calendar controls?
Do you just mean 2 of the Month Calendar controls with 2 text boxes?
Re: [2005] MonthCalendarControl
I think Techgnome meant using 2 DateTimePicker controls.
Re: [2005] MonthCalendarControl
Also, with the DateTimePicker control you wont need a textbox anymore.
Re: [2005] MonthCalendarControl
Date Time Pickers.... thems the ones...
-tg
Re: [2005] MonthCalendarControl
Wow DateTimePickers are much better. I don't have to worry about displaying the dates in textboxes, and they take up much less space on the form because the calendar isn't always displayed. Plus, it's easier to understand beginning and ending date.
Thanks a lot for the help!