Hi,

You can hide the date grid in the component, by using the mx_internal
namespace:

e.g: myDateChooser.mx_internal::dateGrid.visible = false

you can then just grab the month / year values as you need them:

var month:int = myDateChooser.displayedMonth
var year:int = myDateChooser.displayedYear

you will have to import mx.core.mx_internal for this to work, and
anything using the mx_internal namespace may change in the future, so
you may need to review your code if/when you use a newer version of
the framework.

Hope that helps.

Cheers.


--- In [email protected], "lagos_tout" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> I'm relatively new to Flex. I'm having trouble finding a date chooser 
> component that displays only months and years, no days.  Any 
> suggestions?
> Thanks much.
> 
> LT
>


Reply via email to