Print Page | Close Window

How can I set width of Multischedule in calendar

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=16355
Printed Date: 27 April 2024 at 4:49am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How can I set width of Multischedule in calendar
Posted By: Makarand
Subject: How can I set width of Multischedule in calendar
Date Posted: 05 March 2010 at 4:04am
Hi CJ Team,

I have implemented multischedule (Extended) in our application.

Issue: I want to reduce Schedule column width.

In the "Calendar Demo" sample program "John", "Peter", "Rooms" are multischedule column name.

If I add more schedule, currently calendar automatically adjust the column according to Schedule count.

My Requirement is: We want to fix the width of Schedule name column.

How we can do this?????

Thanks,
Mak



Replies:
Posted By: Chewie
Date Posted: 09 November 2012 at 6:17am
I am looking for this same functionality, does anyone know?



Posted By: Chewie
Date Posted: 22 November 2012 at 9:36am
Found the solution, for anyone else interested:

Using CXTPCalendarControl.cpp

CXTPCalendarControl MyCalendarControl;
CXTPCalendarDayView* pDayView = MyCalendarControl.GetDayView(); pDayView->SetMinColumnWidth(-50); //- gets converted internally to + 50 pixels...

Clap




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