WinStudio

CalendarSetMode Method

Applies To

IWSFormComponent interface

Definition

Sets the calendar viewing mode.

Syntax

CalendarSetMode (int mode)

  Part

  Description

mode Required. The calendar viewing mode.

Remarks

The mode determines whether the calendar component is displayed by day, week, or month.

Valid parameter values are:

This method only has a Set Syntax.

Example for Component Objects

Sub Main()
    ThisForm.Components("calendar").CalendarSetMode(0)
End Sub