4D v13

DatePicker APPLY DEFAULT VALUES

Home

 
4D v13
DatePicker APPLY DEFAULT VALUES

DatePicker APPLY DEFAULT VALUES 


 

DatePicker APPLY DEFAULT VALUES ( nomObjet ) 
Parameter Type   Description
nomObjet  Text in Nom d’objet sous-formulaire

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:

  • minimum or maximum enterable dates
  • the first day of the week
  • weekly and yearly "days off" as well as specific holidays

Example  

This example resets the parameters of the Date1 object to their default settings:

 DatePicker APPLY DEFAULT VALUES("Date1")

 
PROPERTIES 

Product: 4D
Theme: DatePicker

 
INDEX

Alphabetical list of commands

 
HISTORY 

 
SEE ALSO 

DatePicker RESET DEFAULT VALUES
DatePicker SET DEFAULT 1ST DAY
DatePicker SET DEFAULT DAYS OFF
DatePicker SET DEFAULT MAX DATE
DatePicker SET DEFAULT MIN DATE