This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
DatePicker SET DEFAULT 1ST DAY
|
DatePicker SET DEFAULT 1ST DAY ( dayNum ) | ||||||||
Parameter | Type | Description | ||||||
dayNum | Longint |
![]() |
First day of the week | |||||
The DatePicker SET DEFAULT 1ST DAY command is used to set the first day of the week to be displayed by default in the left part of all DatePicker calendars.
In the dayNum parameter, pass one of the following 4D constants found in the Days and Months theme:
Constant | Type | Value |
Sunday | Longint | 1 |
Monday | Longint | 2 |
Tuesday | Longint | 3 |
Wednesday | Longint | 4 |
Thursday | Longint | 5 |
Friday | Longint | 6 |
Saturday | Longint | 7 |
Note that this parameter is only taken into account for calendars created subsequently and does not apply to any existing calendars. If you want to apply it to existing calendars, you must use the DatePicker APPLY DEFAULT VALUES component method.
DatePicker APPLY DEFAULT VALUES
DatePicker SET WEEK FIRST DAY
Product: 4D
Theme: DatePicker
4D Widgets ( 4D v20 R7)