Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic MonthRange View (Read 2272 times)
malcynn
YaBB Newbies
*
Offline



Posts: 6
Joined: Nov 14th, 2011
MonthRange View
Nov 18th, 2011 at 6:29pm
Print Post  
Vb.net 2008

I have been playing with changing colors in the MonthRangeView I can change the color on certain dates that are contained in a certain range (say from Nov 1 - Nov11 using the style.from and style.to). Does the control allow for us to spot certain days (i.e Nov 1, Dec 25, Jan 5)? If so which member property do I use?

I have tried running multiple .from - .to but only retains the last displayed.

Your suggestions.
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: MonthRange View
Reply #1 - Nov 21st, 2011 at 7:06am
Print Post  
You can color a single day (if that is what you mean by 'spot') by setting the From and To properties of the DateStyle object to the same value - the day you wish to color. For each additional day you want to color you need to create a separate DateStyle object - you cannot reuse the same DateStyle to color different days simultaneously.

I hope this helps.

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