The day of the week to appear first in any multiple day calendar view.

Usage

Set_Property(CtrlEntId, "OLE.FirstDayOfWeek", OptionValue)

Values

OptionValue can be set to one of the following valid options:

ValueAbbr.Description
SundaySUSets the first day of the week to Sunday.
MondayMOSets the first day of the week to Monday.
TuesdayTUSets the first day of the week to Tuesday.
WednesdayWESets the first day of the week to Wednesday.
ThursdayTHSets the first day of the week to Thursday.
FridayFRSets the first day of the week to Friday.
SaturdaySASets the first day of the week to Saturday.

Default: Monday

Remarks

The FirstDayOfWeek property determines the day of the week that appears first in each week or month view. You can set this to any day of the week. The default is Monday.

Example

// Make Sunday the first day of the week
Set_Property(@Window:".OLE_CALENDAR", "OLE.FirstDayOfWeek", "Sunday")

// Make Wednesday the first day of the week using the abbreviation
Set_Property(@Window:".OLE_CALENDAR", "OLE.FirstDayOfWeek", "WE")
  • No labels