0 Replies Latest reply on Mar 18, 2009 6:54 AM by (Corey_Lucier)

    [svn:fx-trunk] 5384: SDK-19990 ?\226?\128? \147 DropDownList was eating ENTER, preventing default button from firing, should only do so when drop down is open.

      Revision: 5384
      Author: clucier@adobe.com
      Date: 2009-03-18 07:54:24 -0700 (Wed, 18 Mar 2009)

      Log Message:
      -----------
      SDK-19990 ?\226?\128?\147 DropDownList was eating ENTER, preventing default button from firing, should only do so when drop down is open.
      SDK-19988 ?\226?\128?\147 Editable data grid should disable default button since ENTER has a control specific meaning in edit mode.
      SDK-19985 ?\226?\128?\147 Editable data grid was disabling default button globally but forgetting to restore it on focus out.

      Also made a usability change after talking with Joanne (bless her little heart), when a control disables default button behavior (such as TextArea does , because ENTER means to insert a new line), we now make sure to de-emphasize the default button visually, to hint to the user that it?\226?\128?\153s not active. Historically it was always emphasized but ENTER just never activated it.

      QE Notes: Be aware that when a control disables defaultButton globally (FxTextArea does this), default button is no longer emphasized.
      Doc Notes: None
      Reviewer: Chet


      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-19990
      http://bugs.adobe.com/jira/browse/SDK-19988
      http://bugs.adobe.com/jira/browse/SDK-19985

      Modified Paths:
      --------------
      flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DropDownList.as
      flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as
      flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as