hmCal_SET VIEW

hmCal_SET VIEW(area;view)

Parameter          Type             Description
area               Longint      ->  hmCal area
view               Longint      ->  hmCal view

Description

The command hmCal_SET VIEW sets the calendar in the view, defined by parameter view. There are 7 modes:


You can use also the predefinied Constants.

If the view has changed, the calendar is redrawn. The command causes an immediate redraw of the area, whereby the callback method routine releases the hmCal_UpdateAppointments event.

The command has an effect only if the view has changed. If you pass an invalid value of the parameter view, the command is ignored.

Example

The following example indicates the monthly view:

hmCal_SET VIEW(hmCal;hmCal_MonthView)