2 Replies Latest reply on Sep 19, 2008 5:47 AM by Stef_Dev

    FOCUS_OUT, MOUSE_OUT ?

    Stef_Dev
      Hi all !

      I have a container (VBox) with a datagrid in it (and other stuff)
      I need to react when the user clicks outside my Vbox ... but I don't know which event to listen to.

      myVBox.addEventListener(FocusEvent.FOCUS_OUT,handleMyVboxFocusOut);
      Actually I tried FOCUS_OUT and MOUSE_OUT, but both of them are dispatched even if I click inside the datagrid (child of my VBox) !! :( :(

      The listener is on the Vbox, but it would be logical that a click on any of the children doesn't trigger the event, or maybe I don't get it ?