Adding a Calendar component to a form

  1. With the form open, go into Design Mode.
  2. From the Toolbox, select Calendar.
  3. Perform one of these actions:
    • Single-click in the form to draw the calendar at its default size.
    • Click in the form where you want one corner of the calendar to be, hold down the mouse button and drag the cursor to draw the calendar to the size you want.
  4. In the Component property sheet, select the Data Source > Binding property.
  5. Click the ellipses () button.
  6. In the Edit Component Data Binding > Type field, select Calendar.
  7. Click Edit.
  8. In the Calendar Settings dialog box, specify the calendar settings.
  9. Click OK.
  10. Save your changes to the form and exit Design Mode.

Optionally, to hide the navigation buttons or arrows at the top of the calendar, in the Specific Attributes > Hide Month Navigation Buttons property, select True.

Note: This property only works for month view. For other calendar views, such as week or day, the navigation buttons are always displayed.