Please enable JavaScript to view this site.

A-Shell Development History

XTREE date picker enhancement: You may now pass the following Date Picker calendar style flags by appending the decimal representation of the sum of the desired flags to the end of the Format= string (following a "|" delimiter). (The symbols are defined in ashell.def, and are shared with the Month Calendar standalone control):

Symbol

Value

Meaning

MCS_WEEKNUMBERS

4

The month calendar displays week numbers (1-52) to the left of each row of days.

MCS_NOTODAYCIRCLE

8

The month calendard does not circle today's date.

MCS_NOTODAY

16

The month calendar does not display today's date at the bottom of the control.

MCS_NOTRAILINGDATES

64

(Vista+) Dates from the previous and next months are not displayed in the current month's calendar.

MCS_SHORTDAYSOFWEEK

128

(Vista+) Short day names are displayed in the header.

 

For example:

Coldef$ = "1~8~Trx Date~DE~Format="MM/dd/yy|84~~"

This statement defines an editable date column using MM/dd/yy format and with the MCS_WEEKNUMBERS, MCS_NOTODAY, and MCS_NOTRAILINGDATES calendar style options.