Reputation: 1
I am creating a calendar app with C++Builder using the following view:
But I want to create a calendar which includes the following view:
Upvotes: 0
Views: 249
Reputation: 595971
The TCalendarView
documentation states:
CalendarView displays the month view by default, but allows you to configure a different default view.
You can use the DisplayMode
property for that purpose:
Indicates the initial display mode.
DisplayMode
is an enumerated property with the following values:
- Month
- Year
- Decade
This property indicates the initial display mode and shows the current display mode when a user interacts with the control. To change the display mode, you can reset the
DisplayMode
property programmatically.
Upvotes: 1