4 Replies Latest reply on Oct 23, 2009 5:12 PM by vanstigers

    focusIn/focusOut event in Container but not Canvas

    vanstigers

      I was looking for a way to highlight/un-highlight (lowlight?) my Canvas borders depending on whether or not it, or one of the components inside, had focus.

       

      focusIn and focusOut seemed to be the perfect events to do this, and I saw that they are available in the superclass of Canvas, Container.  However, they don't appear to be available in Canvas itself based on the livedocs and a couple of tests that I ran.

       

      I know events are a diffierent beast, but I'm not used to seeing something available in a super class but not in it's subclass.  Can someone please explain this?  I'm actually more curious about this than my original problem itself (however, suggestions for that would be greatly appreciated as well!).