This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
DatePicker APPLY DEFAULT VALUES
|
DatePicker APPLY DEFAULT VALUES ( objectName ) | ||||||||
Parameter | Type | Description | ||||||
objectName | Text |
![]() |
Name of subform object | |||||
The DatePicker APPLY DEFAULT VALUES command is used to reset all the DatePicker parameters to their default values for the objectName subform object.
These default values may be the factory settings but may also have been modified via the SET DEFAULT commands of the component.
The action of this command is immediate: the default values of objectName are instantly modified. Note that the variable associated with the object could also be modified in order to take the new values into account. For example, if the new default values set the minimum date to 01/01/2000 and the variable associated with objectName was 05/05/1995, its value is automatically returned to 01/01/2000.
The DatePicker parameters include:
This example resets the parameters of the Date1 object to their default settings:
DatePicker APPLY DEFAULT VALUES("Date1")
DatePicker RESET DEFAULT VALUES
DatePicker SET DEFAULT 1ST DAY
DatePicker SET DEFAULT DAYS OFF
DatePicker SET DEFAULT MAX DATE
DatePicker SET DEFAULT MIN DATE
Product: 4D
Theme: DatePicker
4D Widgets ( 4D v20 R7)