Tec
Tec

Reputation: 1

Create calendar with C++Builder

I am creating a calendar app with C++Builder using the following view:

image

But I want to create a calendar which includes the following view:

image

Upvotes: 0

Views: 249

Answers (1)

Remy Lebeau
Remy Lebeau

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

Related Questions