Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Using Planner.NET as a time picker? (Read 4624 times)
jlavery
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 8
Joined: Feb 7th, 2006
Using Planner.NET as a time picker?
Feb 22nd, 2006 at 3:34pm
Print Post  
We need to be able to pick just a time within a day, and I was wondering if Planner.NET, in Timetable view, can be used to do this.

I'm not really interested in the actual date - we've already got that.

I know I could create my own user control to do this, but if Planner.NET can already do it, all the better!

Thanks,

James
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Using Planner.NET as a time picker?
Reply #1 - Feb 22nd, 2006 at 5:11pm
Print Post  
Try handling the DateClick event. The DateTime instance passed as parameter to the event handler will give you the start time of the clicked cell.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
jlavery
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 8
Joined: Feb 7th, 2006
Re: Using Planner.NET as a time picker?
Reply #2 - Feb 24th, 2006 at 6:56am
Print Post  
Hi Stoyan,
Thanks for the info - that sounds like just what I want.

Is it possible to strip the appearance down to just display the time slots, without the date at the top? I presume it's just a matter of setting the right appearance-related properties, but I'm stuggling to find the appropriate ones.

James
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Using Planner.NET as a time picker?
Reply #3 - Feb 24th, 2006 at 8:24am
Print Post  
Hi James ,

In TimetableSettings set the MainHeaderSize to 1 and HeaderDateFormat to "  " (two space symbols).Setting MainHeaderSize to 0 would automatically make the header just big enough to show the text, so a 1 pixel high header is the closest you can get to a hidden header. Setting HeaderDateFormat to "  " is needed so there aren't any pixels from the text remaining visible in the header line.

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