Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic MonthWeekHeaderClick event (Read 3849 times)
springy
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 76
Joined: Jan 25th, 2010
MonthWeekHeaderClick event
Feb 3rd, 2010 at 6:07pm
Print Post  
Currently this event always reports the 1st day of the month in DateEventArgs.Date -- wouldn't it be more natural if it would return the first day of the week -- or the exakt date correlating to the clicked pixel as the DateClick event does?
  

/\/\arkus.
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: MonthWeekHeaderClick event
Reply #1 - Feb 4th, 2010 at 8:21am
Print Post  
We will fix this event to supply the first day of the week as you suggested. It will be available in the next release.

Regards,
Meppy
  
Back to top
 
IP Logged
 
springy
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 76
Joined: Jan 25th, 2010
Re: MonthWeekHeaderClick event
Reply #2 - Feb 4th, 2010 at 11:00am
Print Post  
Similar problem with MonthCellClick: Always the 1st of the month is returned and the event even occurs in combination with MonthWeekHeaderClick and MonthHeaderClick.
  

/\/\arkus.
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: MonthWeekHeaderClick event
Reply #3 - Feb 4th, 2010 at 12:48pm
Print Post  
The MonthCellClick event is raised when the user clicks anywhere within a month cell. The purpose of the event is to notify that a specific month cell has been clicked on (particularly in MonthRange view where there are usually more than one cells). The Date in the event argument is meant to supply information about the clicked month and not a particular day within it.

What are your expectations of this event?

Regards,
Meppy
  
Back to top
 
IP Logged
 
springy
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 76
Joined: Jan 25th, 2010
Re: MonthWeekHeaderClick event
Reply #4 - Feb 5th, 2010 at 9:29am
Print Post  
You're right -- the DateClick event just does what I was looking for.
  

/\/\arkus.
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint