View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003105 | JEDI VCL | 00 JVCL Components | public | 2005-07-22 03:19 | 2005-08-10 01:50 |
Reporter | anonymous | Assigned To | obones | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.00 | ||||
Target Version | Fixed in Version | 3.10 | |||
Summary | 0003105: Bolddays with year 0 error in TJvDatePickerEdit (all TJvCustomMonthCalendar descendants) | ||||
Description | Line in Bolddays with year 0 has no effect. 200501=01 -> new years day, only for 2005, ok 000001=01 -> for every years, no effect | ||||
Additional Information | Snippet from Help: CalendarAppearance.Bolddays property is a list of dates that have a bold state. The items in this list should be in one of two formats: 1. 0000mm=daylist 2. yyyymm=daylist To solve this in JvCalendar.pas change // old procedure TJvCustomMonthCalendar.CheckDayState(Year, Month: Word; var DayState: TMonthDayState); begin DayState := StringToDayStates( TMonthCalStrings(FAppearance.BoldDays).GetBoldDays(Year, Month)); end; to // new procedure TJvCustomMonthCalendar.CheckDayState(Year, Month: Word; var DayState: TMonthDayState); begin DayState := StringToDayStates( TMonthCalStrings(FAppearance.BoldDays).GetBoldDays(Year, Month) + ',' + TMonthCalStrings(FAppearance.BoldDays).GetBoldDays(0, Month)); end; | ||||
Tags | No tags attached. | ||||