4D v16DatePicker SET DEFAULT DAYS OFF |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16
DatePicker SET DEFAULT DAYS OFF
DatePicker SET DEFAULT DAYS OFF
The DatePicker SET DEFAULT DAYS OFF command is used to set the days off that will appear in all the calendars of the DatePicker component. These days are displayed in bold and italic and remain selectable for the user. Note that this setting is only taken into account for calendars that are created subsequently and does not apply to any existing calendars. If you want to apply it to the existing calendars, you will need to use the DatePicker APPLY DEFAULT VALUES component method. The command can be used to set recurrent weekly or yearly days off as well as occasional holidays. You specify the type of days off set by the method via the dayType parameter:
You set the holidays by creating a array and by passing a pointer to this array as the ptrDaysOffArray parameter. The type of array depends on the value passed in dayType:
Designation of recurrent holidays (example valid for the USA): ARRAY DATE($arrdRepeatedDays;0)
See also
|
PROPERTIES
Product: 4D
HISTORY
ARTICLE USAGE
4D Widgets ( 4D v16) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||