Customizing the calendar control

One type of control that you might want to use in your Help project is the calendar control. This control is simply an example of the many different types you can use in your help projects. When users open a topic with a calendar control, they can view different months and years as well as print the calendar. You can customize the control as much as necessary, changing font size and color, adding background color, resizing the control, adding borders, etc.

To add a calendar control:

  1. From the Insert menu, select ActiveX Control.

  2. From the Insert ActiveX control dialog, select Calendar Control 9.0 (if available on your system). It's displayed in the WYSIWYG editor as shown in this illustration:

  1. To customize the calendar control, double-click it and change the available settings on the properties dialog.

  2. To change the color of the font for the days of the week headings, for example, click Add on the ActiveX Control tab. The Add Property dialog opens.

  3. Select DayFontColor from the list and enter a color value. For example, if you want to use red for the font color, enter 128 (for this particular calendar control).

Tip: To obtain a list of property values for the specific control that you want to use, contact the ActiveX Control vendor.

  1. Click OK.

  2. To view the calendar, click . The calendar control should look like this:

Note: In order for ActiveX controls to work on end users' systems, they need to be copied on their systems and registered. (ActiveX controls are not included in compiled .CHM files.) For further information, see Registering ActiveX controls.