Print Page | Close Window

Some more problems with CalendarControl

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=13465
Printed Date: 22 September 2024 at 2:41pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Some more problems with CalendarControl
Posted By: inforapid
Subject: Some more problems with CalendarControl
Date 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



Replies:
Posted By: inforapid
Date Posted: 22 February 2009 at 2:04pm
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


Posted By: inforapid
Date Posted: 24 February 2009 at 12:36am
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


Posted By: mdoubson
Date Posted: 24 February 2009 at 8:10pm

The reason why there is no shift sometimes is to prevent events jump on each scroll step.



-------------
Mark Doubson, Ph.D.


Posted By: inforapid
Date Posted: 24 February 2009 at 9:21pm
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



Posted By: mdoubson
Date Posted: 24 February 2009 at 9:39pm
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.


-------------
Mark Doubson, Ph.D.


Posted By: inforapid
Date Posted: 26 February 2009 at 10:43pm
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


Posted By: mdoubson
Date Posted: 26 February 2009 at 10:51pm
Hi, Ingo, could you attach you *.cal file so I can run it and test your situation please

-------------
Mark Doubson, Ph.D.


Posted By: inforapid
Date Posted: 01 March 2009 at 1:06am
Hello Mark,

I have attached the xtp_cal file.

uploads/20090301_010755_timeline.zip - uploads/20090301_010755_timeline.zip

Kind Regards
Ingo


Posted By: mdoubson
Date Posted: 02 March 2009 at 2:51pm
Thanks, got it.
Try this updates in sample app
 
https://forum.codejock.com/uploads/temp/20090303_125722_CalendarDemoSta.rar - https://forum.codejock.com/uploads/temp/20090303_125722_CalendarDemoSta.rar
 
and this is a snapshot:
 
https://forum.codejock.com/uploads/temp/20090303_140316_ScreenShot1.jpg - https://forum.codejock.com/uploads/temp/20090303_140316_ScreenShot1.jpg
 
(There is some problems with Update Post after inserting images or attachments - guess need to restart Web site)
 


-------------
Mark Doubson, Ph.D.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net