Re: [flexcoders] Re: DateField disabledRange attribute setting?

2008-03-14 Thread Scott Melby
It looks to me like the array you are creating in your function will 
contain two String objects.  You need to correct your array 
initialization syntax.


hth
Scott

Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com
http://blog.fastlanesw.com



markflex2007 wrote:

Hi

I still have a question for this.I try the feature,but it doesn't work
 when I return the Array from function.but I need get current year in
a function.


The following code works fine




But the following code doesn't work, the function return an Array, I
am not sure if the Array format is ok or not.

   



	 


Please give me a help.

Thanks

Mark


--- In flexcoders@yahoogroups.com, Scott Melby <[EMAIL PROTECTED]> wrote:
  


http://livedocs.adobe.com/labs/flex3/langref/mx/controls/DateField.html#disabledRanges
  

hth
Scott

Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com
http://blog.fastlanesw.com



markflex2007 wrote:


Hi,

I want to limited  DateField and let only select date in current
year.I want to set the disabledRange propery, Do you have a idea how
to set it?



Please help me.Thanks

Mark



  




  


[flexcoders] Re: DateField disabledRange attribute setting?

2008-03-14 Thread markflex2007
Hi

I still have a question for this.I try the feature,but it doesn't work
 when I return the Array from function.but I need get current year in
a function.


The following code works fine




But the following code doesn't work, the function return an Array, I
am not sure if the Array format is ok or not.

   



 

Please give me a help.

Thanks

Mark


--- In flexcoders@yahoogroups.com, Scott Melby <[EMAIL PROTECTED]> wrote:
>
>
http://livedocs.adobe.com/labs/flex3/langref/mx/controls/DateField.html#disabledRanges
> 
> hth
> Scott
> 
> Scott Melby
> Founder, Fast Lane Software LLC
> http://www.fastlanesw.com
> http://blog.fastlanesw.com
> 
> 
> 
> markflex2007 wrote:
> > Hi,
> >
> > I want to limited  DateField and let only select date in current
> > year.I want to set the disabledRange propery, Do you have a idea how
> > to set it?
> >
> > 
> >
> > Please help me.Thanks
> >
> > Mark
> >
> >
> >
>