2009-09-04 14:14 UTC
I have a dialog with a calendar control on it and I want the dialog to open with a date preselected. This works just fine if I use a date within 2009 like this:
(setq ndate '(2009 12 31))
(dcl_Calendar_SetCurSel date_date_calendar1 ndate)
But as soon as I try and use a date from 2010 I get an 'Expected more arguments' error:
(setq ndate '(2010 01 01))
(dcl_Calendar_SetCurSel date_date_calendar1 ndate)
Is there something else I need to do in order to get the calendar to select a date beyond the end of the year or is this a bug?
(setq ndate '(2009 12 31))
(dcl_Calendar_SetCurSel date_date_calendar1 ndate)
But as soon as I try and use a date from 2010 I get an 'Expected more arguments' error:
(setq ndate '(2010 01 01))
(dcl_Calendar_SetCurSel date_date_calendar1 ndate)
Is there something else I need to do in order to get the calendar to select a date beyond the end of the year or is this a bug?