I need to set up an event calendar where the user can see a single, full month at a time in a full-screen form with pre-loaded events showing in various days.
I can't figure out how to get the calendar to display as just one month at a time, like it's showing in the screenshot. When I drag the Calendar from the Toolbox to the form, it shows in hourly increments, like a day-planner layout.
The MonthView control in the Toolbox just displays small months and enlarging the control just shows more months.
In neither case could I find a property that seemed to set a default view to one month at a time.
I'll also need to have navigation available so the user can move through the months easily.
I'm very new to VB.NET programming but am learning,so I'd appreciate it if someone could help me out with this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Update:
I finally figured out how to display a single month at a time:
Set the SetViewRange()'s dateStart and dateEnd to the first and last days of the desired month.
Now that that's answered, I have to figure out how to actually add items/events to the calendar. I'm loading them from a CSV, so this'll be interesting! ;)
Last edit: Mark 2016-01-05
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I need to set up an event calendar where the user can see a single, full month at a time in a full-screen form with pre-loaded events showing in various days.
I can't figure out how to get the calendar to display as just one month at a time, like it's showing in the screenshot. When I drag the Calendar from the Toolbox to the form, it shows in hourly increments, like a day-planner layout.
The MonthView control in the Toolbox just displays small months and enlarging the control just shows more months.
In neither case could I find a property that seemed to set a default view to one month at a time.
I'll also need to have navigation available so the user can move through the months easily.
I'm very new to VB.NET programming but am learning,so I'd appreciate it if someone could help me out with this.
Update:
I finally figured out how to display a single month at a time:
Set the SetViewRange()'s dateStart and dateEnd to the first and last days of the desired month.
Now that that's answered, I have to figure out how to actually add items/events to the calendar. I'm loading them from a CSV, so this'll be interesting! ;)
Last edit: Mark 2016-01-05