Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When Month and Week have values but DayOfWeek and Date are empty, then the user has clicked on a week number along the left side of the month. Note: this will be the case even if ShowWeekNumbers is off.

Day of Week:

When Month and DayOfWeek have values but Week and Date are empty, then the user has clicked on a day of the week indicator just below the month header.

...

Code Block
 Transfer Param1 to Month 
Transfer Param2 to Week 
Transfer Param3 to DayOfWeek 
Transfer Param4 to Date 
Transfer Param5 to Point 
Transfer Param6 to Button 
Transfer Param7 to Shift 
Transfer Param8 to Ctrl 

 // Did the user double click a date? 
DateClicked = (Month NE "" AND Week NE "" AND DayOfWeek NE "" AND Date NE "") 

 // Did the user double click only a week number? 
WeekNumberClicked = (Month NE "" AND Week NE "" AND DayOfWeek EQ "" AND Date EQ "") 

 // Did the user double click only a day of week? 
DayOfWeekClicked = (Month NE "" AND Week EQ "" AND DayOfWeek NE "" AND Date EQ "") 

 // Did the user double click only a month 
MonthClicked = (Month NE "" AND Week EQ "" AND DayOfWeek EQ "" AND Date EQ "") 

 // Did the user double click on an empty portion of the control 
ControlClicked = (Month EQ "" AND Week EQ "" AND DayOfWeek EQ "" AND Date EQ "")

See Also

OnClick