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:
Value | Abbr. | Description |
---|---|---|
Sunday | SU | Sets the first day of the week to Sunday. |
Monday | MO | Sets the first day of the week to Monday. |
Tuesday | TU | Sets the first day of the week to Tuesday. |
Wednesday | WE | Sets the first day of the week to Wednesday. |
Thursday | TH | Sets the first day of the week to Thursday. |
Friday | FR | Sets the first day of the week to Friday. |
Saturday | SA | Sets 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")