Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Get visible time range
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Get visible time range

 Post Reply Post Reply
Author
Message
jgordon428 View Drop Down
Groupie
Groupie


Joined: 11 June 2009
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote jgordon428 Quote  Post ReplyReply Direct Link To This Post Topic: Get visible time range
    Posted: 30 June 2010 at 2:41pm
Is there anyway to determine the time range that is visible on the schedule? When I do a print or print preview, I want to set:

CalendarControl.PrintOptions.PrintFromToExactly = True
CalendarControl.PrintOptions.PrintFrom = "8:00AM" 'NEED TO GET VISIBLE START TIME
CalendarControl.PrintOptions.PrintTo = "5:00PM" 'NEED TO GET VISIBLE END TIME

I can't seem to figure out where this property is.

Also, if I have CalendarControl.PrintOptions.PrintFromToExactly = True, whenever I return from print preview, it returns the scheduler display all the way to the top (12am). I can avoid this behavior by setting CalendarControl.PrintOptions.PrintFromToExactly = False, however then I can't set the start and end times to display.

Thank you.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.