Some more problems with CalendarControl |
Post Reply |
Author | |
inforapid
Groupie Joined: 31 March 2006 Status: Offline Points: 38 |
Post Options
Thanks(0)
Posted: 22 February 2009 at 12:28am |
Sorry, but I have realized some more bugs in the calendar control.
- Markup support. If the event view is resized, the layout and the line breaks are not recalculated. The first picture shows the day view after resizing the window, the second after I have forced the recalculation by switching to week view and back to day view. - In week or month view, events with markup text are empty - I'm not sure if this is a bug but categories are additive which is a little bit strange. - If tooltips are set to custom, they don't work in timeline mode and throw an assertion in debug compiles. Further more, I have one suggestion. Wouldn't it be nice if I can select the date range, which should be printed? Most times, I don't want to print the current view, I want to print all views starting with date x and ending with date y on n pages where I have events defined. It would be great if this could be implemented in the next release - and if the algorithm for the timeline view could be made faster ;-) Kind Regards Ingo Straub |
|
inforapid
Groupie Joined: 31 March 2006 Status: Offline Points: 38 |
Post Options
Thanks(0)
|
Hi,
I have found another bug in the timeline view. If the vertical scroll position is not at top, the wrong tooltips are displayed. You can see it at the screenshot below. The mouse cursor is at the EVENT NOW event, while the tooltip displays the text for the AllDay event. Kind Regards Ingo |
|
inforapid
Groupie Joined: 31 March 2006 Status: Offline Points: 38 |
Post Options
Thanks(0)
|
I have found another bug with the timeline mode. Your algorithm for compacting the events doesn't work correct. To show this I have attached two screenshots. The first shows the non compact, the second the compact timeline view. As you can see, the bottom part of the events are not shifted to the top even though there is a large amount of free space above.
Not compacted timeline view Compacted timeline view Kind Regards Ingo |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
The reason why there is no shift sometimes is to prevent events jump on each scroll step. |
|
inforapid
Groupie Joined: 31 March 2006 Status: Offline Points: 38 |
Post Options
Thanks(0)
|
Hello Mark,
Is there a way to select an event in the timeline view? I have seen that you have implemented drawing like if event is selected then draw focusrectangle but I can't select an event, the function CXTPCalendarView::SelectEvent doesn't work for the timeline view. I also don't get a selectchange notification if an event in the timeline view is selected. Regarding your comment to my last post: If I scroll left or right, there are no events displayed in the free region. So I see no reason, why the gap should be necessary. Kind Regards Ingo |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
This is that I tried to explain early - if you do event sorting only for visible range, little scroll step will change all picture - some events will jump up and so on. I tried to stabilize this situation using long range (like visible rangle +/- month or event more). It does not mean that there is always gap - it depends.
You can select Event in the term of identify it and call context menu or direct action. There is no selection as make a member of some container yet.
|
|
inforapid
Groupie Joined: 31 March 2006 Status: Offline Points: 38 |
Post Options
Thanks(0)
|
Hello Mark,
I understand what you mean, but it is not correct. There is no event in the future and no event in the past. The timeline view contains only the events which are displayed in my screenshot, no more events when I scroll left and no more events when I scroll right. Kind Regards Ingo |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
Hi, Ingo, could you attach you *.cal file so I can run it and test your situation please
|
|
inforapid
Groupie Joined: 31 March 2006 Status: Offline Points: 38 |
Post Options
Thanks(0)
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
Thanks, got it.
Try this updates in sample app
and this is a snapshot:
(There is some problems with Update Post after inserting images or attachments - guess need to restart Web site)
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |