There are too things that crop to mind. First, if you just want the
user to select the number of days, isn't that an integer in a
TextInput? I'm assuming that is the wrong path, so...
You might be describing allowMultipleSelection which can allow the user
to select multiple days in the DateChooser. Additionally, check out
allowDisjointSelection, selectedRange, and selectedRanges
http://livedocs.adobe.com/flex/3/langref/mx/controls/DateChooser.html#allowMultipleSelection
http://livedocs.adobe.com/flex/3/langref/mx/controls/DateChooser.html#allowDisjointSelection
http://livedocs.adobe.com/flex/3/langref/mx/controls/DateChooser.html#selectableRange
http://livedocs.adobe.com/flex/3/langref/mx/controls/DateChooser.html#selectedRanges
GarethA wrote:
We have a limited amount of space in our app, so the DateChooser
calendar pop up is probably our best option right now. We want to
allow the user to select "number of days" and change the date based
upon the number of days the user selected. I was trying to figure out
a way to include this functionality inside the calendar that pops up
in order to save a little more real estate on the page (and make my
own component for it).
--- In [email protected]
<mailto:flexcoders%40yahoogroups.com>, Jeffry Houser <j...@...> wrote:
>
>
> What type of modifications do you want?
>
> There is some localization customization of the DateChooser, with
> monthNames, monthSymbol, and I think a few other properties. I think
> there is a dayNames property too.
>
> I've been building a Calendar component as part of ongoing The Flex
> Show video series (
> http://www.theflexshow.com/blog/index.cfm/Fifteen-Minutes-With-Flex
<http://www.theflexshow.com/blog/index.cfm/Fifteen-Minutes-With-Flex> )
> and a more advanced version just went up for prerelease sale at
> Flextras.com . If you think something like that would suit your needs,
> I'd love to learn more and possibly get you on our beta program and
> discuss your needs further.
>
> GarethA wrote:
> >
> >
> > Just wondering if anyone knows a way to modify the DateChooser
> > calendar that pops up. I looked through the file but didn't see any
> > reference to any kind of factory or renderer that would accept a new
> > calendar. If not, anyone have any other potential solutions?
> > Thanks.
> >
> >
>
> --
> Jeffry Houser, Technical Entrepreneur
> Adobe Community Expert: http://tinyurl.com/684b5h
<http://tinyurl.com/684b5h>
> http://www.twitter.com/reboog711 <http://www.twitter.com/reboog711>
| Phone: 203-379-0773
> --
> Easy to use Interface Components for Flex Developers
> http://www.flextras.com?c=104 <http://www.flextras.com?c=104>
> --
> http://www.theflexshow.com <http://www.theflexshow.com>
> http://www.jeffryhouser.com <http://www.jeffryhouser.com>
> --
> Part of the DotComIt Brain Trust
>
--
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711 | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust