4D v16DatePicker SET DAYS OFF |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16
DatePicker SET DAYS OFF
DatePicker SET DAYS OFF
The DatePicker SET DAYS OFF command is used to set the days off to appear in the DatePicker calendar. These days are displayed in bold and italic and remain selectable for the user. The objectName parameter specifies the instance of the subform to which the command must be applied. In this parameter, you must pass the name of a subform object displayed in the current form. This command can be used to set either recurrent weekly or yearly days off as well as occasional holidays. You specify the type of days off set 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 Friday as the weekly day off (instead of Saturday and Sunday by default): ARRAY BOOLEAN($arrbDaysOff;7) Designation of occasional holidays: ARRAY DATE($arrdUniqueDays;0)
See also
DatePicker SET DEFAULT DAYS OFF
|
PROPERTIES
Product: 4D
HISTORY
ARTICLE USAGE
4D Widgets ( 4D v16) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||