:: com :: sun :: star :: form :: component ::

service DateField
Description
specifies the model of a date field control, which is an edit field used to enter a date.

Included Services - Summary
::com::sun::star::awt::UnoControlDateFieldModel
(referenced entity's summary:)
specifies the standard model of an ::com::sun::star::awt::UnoControlDateField.
::com::sun::star::form::FormControlModel
(referenced entity's summary:)
specifies a control model within a form.
Exported Interfaces - Summary
::com::sun::star::form::XReset

resets the control. (details)

Properties' Summary
long
DefaultDate
contains a default value for the control.  
Included Services - Details
::com::sun::star::awt::UnoControlDateFieldModel
(referenced entity's summary:)
specifies the standard model of an ::com::sun::star::awt::UnoControlDateField.
::com::sun::star::form::FormControlModel
(referenced entity's summary:)
specifies a control model within a form.
Exported Interfaces - Details
::com::sun::star::form::XReset
Description
resets the control.

If you do not set a value for the DefaultDate, then resetting the control will result in setting to to the current system date. This is for HTML compatibility.

Properties' Details
DefaultDate
long DefaultDate;
Description
contains a default value for the control.

This value is used when the control is initially displayed, and for resetting it.

See also
::com::sun::star::awt::UnoControlDateFieldModel::Date, ::com::sun::star::form::XReset

 
Top of Page