0 Replies Latest reply on Dec 12, 2007 7:13 AM by Jazzle23

    Extending DateChooser component

    Jazzle23
      Hola Flexperts!

      I was wondering, if it is possible to extend the DateChooser (mx.controls.DateChooser) in order to highlight particular dates, just as the property selectedRanges does. I need at least one different highlighting in addition to the selectedRanges.
      Perhaps it is possible to display a date figure with a bold font... I hope there is any way to achieve a behavior like that.

      Currently I extend my DateChooser component like this:

      public class SleekDateChooser extends DateChooser {
      override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void{ super.updateDisplayList(unscaledWidth, unscaledHeight);

      this.mx_internal::fwdMonthButton.visible=false;
      this.mx_internal::backMonthButton.visible=false;

      }
      }

      Any ideas?

      Thanks in advance

      Jazz