Date/Time Picker Control Attributes Window

#### Search Results

Search

# Date/Time Picker Control Attributes Window

Accessible Using

1. Double-click on the date/time picker control; or

2. if selected: "Control > Attributes" or by selecting 'Attributes...' from the control's context menu or

3. if selected: ENTER.

## Entries

Note
For context-sensitive help on attribute entries, select the entry so it has the focus, and press F1.

Entry in Attributes Window | Represents
--- | ---
Name | Handle name of the date/time picker control (may be overwritten with another name).
Font | Output field where the font currently selected is displayed.
`...` | Dialog box for selecting fonts.
DIL text | DIL-TEXT attribute value.
`...` | Dialog box for determining sources of DIL-TEXT attribute values.
Context Menu | CONTEXT-MENU attribute value. Specifies the context menu (if any) associated with the control.
Format string | EDIT-MASK attribute value. Specifies custom format definition (if any). Note The format string used by this control does not use the normal Natural edit mask format specifiers. For a complete list of format specifiers, please refer to the article Working with Date and Time Picker (DTP) Controls.
Background: |
Selection box | BACKGROUND-COLOUR-NAME attribute value.
`...` | Invokes dialog box for editing BACKGROUND-COLOUR-VALUE attribute value.
Help ID | HELP-ID attribute value.
Format: |
Short date | STYLE attribute value. System-defined short date format is used. Note The control does not have a sunken appearance if Windows XP styles are active.
Century date | STYLE attribute value. System-defined long date format is used, extended with century information (if not already present). Note Depending on the active regional settings, this format may be identical to the short date format.
Long date | STYLE attribute value. System-defined long date format is used.
Time | STYLE attribute value. Control displays (and stores) only times, not date information.
Style: |
Up-down | STYLE attribute value. Control uses Up and Down buttons to scroll through the values, rather than a drop-down month calendar. Note This option is implicitly set if the control's "time" style is set.
Calendar on right | STYLE attribute value. Drop down calendar is right-aligned with the control, rather than left-aligned.
Allow "no value" | STYLE attribute value. Control displays a check box indicating the presence or absence of a value.
Calendar styles: | These styles relate to the drop-down month calendar (if any).
Week numbers | STYLE attribute value. Week numbers are displayed.
No today | STYLE attribute value. Today's date (click-sensitive) is not displayed at the bottom of the calendar.
No today circle | STYLE attribute value. Today's date is not highlighted (e.g., circled).
State: |
Visible | VISIBLE attribute value. Control will be shown.
Enabled | ENABLED attribute value. Control can accept user input.
Rectangle: | The following four attributes decide the date/time picker control's x and y axis position, its height and its width on the screen. X - RECTANGLE-X attribute value. Y - RECTANGLE-Y attribute value. W - RECTANGLE-W attribute value. H - RECTANGLE-H attribute value.
OK | Save settings and exit the window.
Cancel | Exit the window without saving the settings.
Help | Provides online help on the attributes window.