|
Description
|
Returns/sets the date format of the date fields if present. Restituisce od imposta il formato con cui verranno stampati i campi di tipo data.
|
Syntax Visual Basic
|
[form.]Postel.DateFieldsFormat[ = DateFieldsFormatEnum]
|
|
Visual C++
|
long Postel.GetDateFieldsFormat(); void Postel.SetDateFieldsFormat(long nNewValue);
|
|
Delphi
|
property DateFieldsFormat: TOleEnum (DateFieldsFormatEnum);
|
|
C#
|
|
|
Remarks
|
Changing this property will affect how the date fields, if present, will be formatted on the letters. Normally the date format is related to that used on international settings in control panel. Questa proprietā consente di modificare la formattazione dei campi di tipo data, se presenti, nelle lettere. Normalmente vengono utilizzate le formattazioni previste dalle impostazioni internazionali nel pannello di controllo di Windows. Valid settings for the DateFieldsFormat property are:
| 0 | ptGeneralDate | Set the format in the way, for example, 4/3/93. Format is determined by system settings. | | 1 | ptLongDate | Set the format according system's long date format. | | 2 | ptMediumDate | Set the format using the medium date format appropriate for the language version of the host application. | | 3 | ptShortDate | Set the format using system's short date format. |
|
|
Data Type
|
DateFieldsFormatEnum (Enumeration)
|
|
Default Value
|
ptShortDate (3)
|