1 Reply Latest reply on Oct 12, 2006 6:19 PM by dimival

    Default button doesn't work

      Is there a trick to getting the defaultButton property to work on a Panel? It is not responding to the enter key, and I need it to.

      UPDATE: Never mind - I was chasing a type-o (why didn't Flex Builder complain??). It works now. I guess there's no way to delete this post, however...
        • 1. Default button doesn't work
          dimival Level 1
          Well i do have problems with the defaultButton, i extended the Button component to my own and whenever i press enter on the Form it doesn't work. Code is like this:

          <mx:Form defaultButton="{searchButton}">
          <own:myButton id="searchButton" click="doSomething()"/>

          I even tried using a normal mx:Button but it doesn't work, why is that?
          Any ideas?