====== Date ====== {{page>commctrl}} {{page>commstyle}} {|class="cboxtable" |- |class="cboxcell1"|{{ control_date.gif |}} |class="cboxcell2"|**TADate** |} Creates a date picker control #remarks_header[Properties:]# |**ContextMenu**|{{KODA>VAR>ContextMenu}} | |**Cursor**|{{KODA>VAR>Cursor}} | |**Date**|Date in short-date format specified in Windows' Regional and Language Options | |**Enabled**|False generates GUICtrlSetState(-1, $GUI_DISABLE) | |**Font**|{{KODA>VAR>Font}} | |**Format**|Custom format consisting of elements and literals (e.g. - and /). The elements are: \\ **d** - one- or two-digit day \\ **dd** - two-digit day. Single-digit day values are preceded by a zero \\ **ddd** - three-character weekday abbreviation \\ **dddd** - full weekday name \\ **h** - one- or two-digit hour in 12-hour format. \\ **hh** - two-digit hour in 12-hour format. Single-digit values are preceded by a zero \\ **H** - one- or two-digit hour in 24-hour format \\ **HH** - two-digit hour in 24-hour format. Single-digit values are preceded by a zero \\ **m** - one- or two-digit minute \\ **mm** - two-digit minute. Single-digit values are preceded by a zero. \\ **M** - one- or two-digit month number \\ **MM** - two-digit month number. Single-digit values are preceded by a zero \\ **MMM** - three-character month abbreviation \\ **MMMM** - full month name \\ **s** - one- or two-digit second \\ **ss** - two-digit second. Single-digit values are preceded by a zero \\ **t** - one-letter AM/PM abbreviation (A or P) \\ **tt** - AM or PM \\ **yy** - last two digits of the year \\ **yyyy** - full year (4 digits) | |**Left,Top**|{{KODA>VAR>Left,Top}} | |**Width,Height**|{{KODA>VAR>Width,Height}} | |**Hint**|Text that appears when cursor hovers over control. Generates call to GUICtrlSetTip | |**Name**|{{KODA>VAR>Name}} | |**OnChange**|Generates (in Message Loop mode) a Case or (in OnEvent mode) a call to GUISetOnEvent and a skeleton event function. Double-click to right to open [[koda:documentation:proped_events_editor]] | |**Resizing**|{{KODA>VAR>Resizing}} | |**TabOrder**|Sequence in which controls are selected with the Tab and S-Tab keys. For a Form and for each Group, TabOrder starts with 0. You may prefer to use the [[dialog_tab_order_editor|TabOrder Visual Editor]]: press C-t to open it. | |**Time**|Time in format per Windows' Regional and Language Options | |**Visible**|If False, generates GUICtrlSetState(-1, $GUI_HIDE) | #remarks_header[Styles:]# |DTS_SHORTDATEFORMAT|Displays the date in short format, with 2-digit year | |DTS_LONGDATEFORMAT|Displays the date in long format | |DTS_UPDOWN|Control acts as a spinner rather than as a combo box with month-calendar drop-down | |DTS_SHOWNONE|Displays a check box that can be checked once a date is entered | |DTS_TIMEFORMAT|Displays the time | |DTS_RIGHTALIGN|Right-aligns drop-down calendar | |WS_TABSTOP|Control can be selected with Tab and S-Tab | |WS_HSCROLL|{{KODA>VAR>WS_HSCROLL}} | |WS_VSCROLL|{{KODA>VAR>WS_VSCROLL}} | |WS_VISIBLE|{{KODA>VAR>WS_VISIBLE}} | |WS_BORDER|{{KODA>VAR>WS_BORDER}} | |WS_CLIPSIBLINGS|{{KODA>VAR>WS_CLIPSIBLINGS}} | #remarks_header[Extra Styles:]# |WS_EX_CLIENTEDGE|{{KODA>VAR>WS_EX_CLIENTEDGE}}| |WS_EX_STATICEDGE|{{KODA>VAR>WS_EX_STATICEDGE}} | #remarks_header[Remarks:]# None #remarks_header[Related:]# [[control_monthcal|]] control