Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Accessing individual days from a selection (Read 2492 times)
Compmind
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Joined: Jul 19th, 2006
Accessing individual days from a selection
Jul 20th, 2006 at 5:12pm
Print Post  
For each selected non-contiguous day in the month-range view, how can I extract each selected day?  Which property would enable me to get each of those selected days and show them, for example, in a msgbox for display?? ???
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Accessing individual days from a selection
Reply #1 - Jul 21st, 2006 at 5:01am
Print Post  
You can access the selected time ranges via the Calendar.Selection.Ranges property. This property returns an ArrayList of even number DateTime objects, sorted in a chronological order. Each pair in the list represents a selected time range. For example if you have selected a single time range 01/01 0:00 AM to 15/01 0:00 AM, then the array returned by this property will contain 2 DateTime object - (01/01 0:00 AM) and (15/01 0:00 AM) respectively.

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