1 Reply Latest reply on May 27, 2010 1:07 AM by TanweerHq

    tooltip on date of datechooser control

    cancertropica100

      hi to all friends out there. I am stuck in my application where i need to show some information  on tooltip corresponding some dates in choosercontrol.I am unable to  figure out how i acheive this.I want to fire mouse over event on date of datechooser control.

       

      Please tell me how i can do that. Your every help is comnedable.

       

      Thank you

        • 1. Re: tooltip on date of datechooser control
          TanweerHq Level 2

                      private var lastDate:String = "";
                     
                      private function onMouseMove(e:MouseEvent):void {
                          if(e.target.className == "UITextField"){
                              if(lastDate != e.target.text){
                                  e.target.toolTip = "This is " + e.target.text + " date";
                              }
                              lastDate = e.target.text;
                          }
                      }

           

          This should work for you.

           

          Please mark this reply if useful....

          1 person found this helpful