Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic VisibleDays and NumberOfDays (Read 2648 times)
Jeffry
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 26
Joined: Feb 9th, 2007
VisibleDays and NumberOfDays
Feb 14th, 2007 at 4:31pm
Print Post  
I set the DayRangeSettings.NumberOfDays to 1 and after that the DayRangeSettings.VisibleDays to 1 in the properties window.

When you then look at the designer class it says:
DayRangeSettings.NumberOfDays = 1;
DayRangeSettings.VisibleDays = 1;

Because the default for VisibleDays = 7 and NumberOfDays is set before VisibleDays it throws an exception: Specified argument was out of the range of valid values. Parameter name: '1' is not a valid value for 'NumberOfDays'. 'NumberOfDays' must be greater than or equal to 'VisibleDays'.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: VisibleDays and NumberOfDays
Reply #1 - Feb 14th, 2007 at 6:03pm
Print Post  
Thank you for letting us know of this issue. Our developer will take a look into it tomorrow. For now set the properties from the form.Load event in the opposite order Wink
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint