View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005561||JEDI VCL||00 JVCL Components||public||2011-05-01 12:42||2011-09-21 11:39|
|Target Version||Fixed in Version|
|Summary||0005561: YearGrid.SetDateInfo does not work properly|
|Description||I'm trying to use YearGrid for a application at school. I want to display the days of a year where a student was not at school, so I want to call SetDateInfo for every day he was absent.|
Unfortunately there are two problems:
1) the days displayed are shifted by 1 day. If I set March 23rd, then March 24th will be marked
2) sometimes there are invalid days marked: every time WD=1 in DateToCell, the wrong days are marked (see attached screenshots)
|Additional Information||Problem 1:|
In the example 2012, I marked the period of 1st to the 5th of every month. You can clearly see that YearGrid displays 2nd to 6th instead.
Same with example 2011 where 1st to 10th is marked, but 2nd to 11th is displayed.
In example 2012, the dates of the months Jan, Apr, July are not displayed properly. The marked fields should be shifted 7 days to the right.
Same with example 2011, where only May is wrong (because it's the only month in 2011 where WD equals 1 in DateToCell procedure).
|Tags||No tags attached.|
|2011-05-01 12:42||baurat||New Issue|
|2011-05-01 12:42||baurat||File Added: yeargrid.png|
|2011-06-07 17:55||obones||Note Added: 0018628|
|2011-06-07 17:55||obones||Status||new => feedback|
|2011-09-21 11:39||obones||Note Added: 0018910|
|2011-09-21 11:39||obones||Status||feedback => resolved|
|2011-09-21 11:39||obones||Resolution||open => suspended|
|2011-09-21 11:39||obones||Assigned To||=> obones|