service UnoControlDateFieldModel in module com::sun::star::awt::

(Global Index)

Syntax

service UnoControlDateFieldModel;

Description

specifies the standard model of a date field control.

Included Services

com::sun::star::awt::UnoControlModel

Property Summary

BackgroundColor specifies the background color(RGB) of the control.

Border specifies the border style of the control.

Date specifies the date displayed in the control.

DateMax specifies the maximum date that can be entered.

DateMin specifies the minimum date that can be entered.

Enabled determines whether a control is enabled or disabled.

DateFormat specifies the format of the date.

FontDescriptor specifies the font attributes of the text in the control.

Printable specifies that the control will be printed with the document.

ReadOnly specifies that the content of the control cannot be modified by the user.

Spin specifies that the control has a spin button.

StrictFormat specifies that the date is checked during the input.

Tabstop specifies that the control can be reached with the tabulator key.

TextColor specifies the text color (RGB) of the control.

HelpText specifies the help text of the control.

HelpURL specifies the help id of the control.

Property Details



BackgroundColor

Syntax

long BackgroundColor;

Description

specifies the background color(RGB) of the control.


Border

Syntax

short Border;

Description

specifies the border style of the control.

 0: No border
 1: 3D border
 2: simple border

Date

Syntax

long Date;

Description

specifies the date displayed in the control.


DateMax

Syntax

long DateMax;

Description

specifies the maximum date that can be entered.


DateMin

Syntax

long DateMin;

Description

specifies the minimum date that can be entered.


Enabled

Syntax

boolean Enabled;

Description

determines whether a control is enabled or disabled.


DateFormat

Syntax

short DateFormat;

Description

specifies the format of the date.

 0: system short
 1: system short YY
 2: system short YYYY
 3: system long
 4: short DDMMYY
 5: short MMDDYY
 6: short YYMMDD
 7: short DDMMYYYY
 8: short MMDDYYYY
 9: short YYYYMMDD
 10: short YYMMDD DIN5008
 11: short YYYYMMDD DIN5008

FontDescriptor

Syntax

com::sun::star::awt::FontDescriptor FontDescriptor;

Description

specifies the font attributes of the text in the control.


Printable

Syntax

boolean Printable;

Description

specifies that the control will be printed with the document.


ReadOnly

Syntax

boolean ReadOnly;

Description

specifies that the content of the control cannot be modified by the user.


Spin

Syntax

boolean Spin;

Description

specifies that the control has a spin button.


StrictFormat

Syntax

boolean StrictFormat;

Description

specifies that the date is checked during the input.


Tabstop

Syntax

boolean Tabstop;

Description

specifies that the control can be reached with the tabulator key.


TextColor

Syntax

long TextColor;

Description

specifies the text color (RGB) of the control.


HelpText

Syntax

string HelpText;

Description

specifies the help text of the control.


HelpURL

Syntax

string HelpURL;

Description

specifies the help id of the control.

Top of Page