Print Page | Close Window

Time Hiding for DayView ??

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=16140
Printed Date: 06 October 2024 at 3:16pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Time Hiding for DayView ??
Posted By: noldor
Subject: Time Hiding for DayView ??
Date Posted: 04 February 2010 at 9:40am
I am using the calender activeX v12.0.2

I need to hide all the non-working-time cells.
I mean, if my working time is between 10am and 04pm, why should i have to display all the other time cells for the user?
There should be an option to hide those cells.

I managed this by disabling scrolls, then adjusting the HeightFormula due to calendar height, then scrolling to worktime area..
But still, when my timescale is a small value like a 5-minute and my working time is about 8 hours, then time cells appear in a very small height and it all gets messed up. In this case, i need to re-adjust the HeightFormula to a normal value and i need the vertical scroll back again.

Shortly, it is getting harder and harder.

Isn't there any easy way to define a starting time and an ending time, which will provide hiding the needless time rows.




Replies:
Posted By: SuperMario
Date Posted: 04 February 2010 at 10:48am
    CalendarControl.DayView.TimeScaleMinTime = #9:00:00 AM#
    CalendarControl.DayView.TimeScaleMaxTime = #6:00:00 PM#


Posted By: noldor
Date Posted: 05 February 2010 at 1:30am
DayView object does not have any property named "TimeScaleMinTime" or "TimeScaleMaxTime".
I think it is something about the library version, i use v12.0.2... Isn't there any equivalent in this version ??


Posted By: SuperMario
Date Posted: 05 February 2010 at 10:07am
That was a new feature added for that very reason, why not update to a newer version?


Posted By: noldor
Date Posted: 05 February 2010 at 11:03am
I'm editing an already finished project.
Adding a new form into this project which will use a calendar object.
They used the old version codejock objects in their project.
And they don't have a positive look on upgrading their version.
Isnt there a way of direct messaging to ocx file or global setting or something else.


Posted By: SuperMario
Date Posted: 05 February 2010 at 2:34pm
Sorry, but there is no way around it.  There are no messages to be sent or global settings.  To use this functionality you must upgrade at least to the first version that had this in ocx.



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