Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Scale timeline in resourceview (Read 1702 times)
urunkel
YaBB Newbies
*
Offline



Posts: 1
Joined: Sep 4th, 2007
Scale timeline in resourceview
Sep 4th, 2007 at 5:50am
Print Post  
Hi,

I am using the planner in resourceview. In the form I placed buttons to change the timelinescale to zoom in and out. This all works fine. Finally I wanted to implement a function that shows a whole month. So I have to resize the timelinescale to see from 28 up to 31 columns, depending on the selected month.

Can I find out either the width of a single column or the last visible day with the actual selected timelinescale or is there any other solution I didn't get yet?

Thanks in advance.
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Scale timeline in resourceview
Reply #1 - Sep 4th, 2007 at 9:20am
Print Post  
You can obtain the currently visible start and end dates through the GetFirstVisibleDate and GetLastVisibleDate methods of the Calendar class. These methods take into consideration the current timeline scale.

Meppy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint