Ticket S30850
Visible to All Users

Usability.Win - Do not tab stop on disabled/readonly editors and columns

created 16 years ago

- WindowsForms and ASP.NET
- DX editors and standard controls
- for a strict property editor
- for a whole DetailView
- support readonly columns in the Grid's "Inplace Edit Mode"
See Also:
Disable TabStop on ReadOnly property editors (Keyboard-only)
How to skip readonly editors when moving through editors, using the Tab key - you can use a solution from it as a workaround
Layout - Provide an easy way to switch between the Tab and Enter keys to focus controls on a form
Thanks,
Dan

Comments (2)

    Please do implement this :)

    Dennis Garavsky (DevExpress) 12 years ago

      To everyone who wants this functionality in XAF, please share your thoughts by answering the two questions in the "Skipping tab stop for disabled/readonly editors and columns" blog.
      Thank you in advance.

      Answers approved by DevExpress Support

      created 12 years ago (modified 11 years ago)

      We have implemented the functionality described in this ticket. It will be included in our next update(s).

      Please check back and leave a comment to this response to let us know whether or not this solution addresses your concerns.

      Additional information:

      Starting with version 13.2, focus will not stop on read-only editors placed within the LayoutControl and GridListEditor columns while tabbing by default. This behavior appears to be logical and expected in most data-entry apps. If you do not want this behavior, you can always change it via a ViewController by adjusting the WinLayoutManager.Container.OptionsFocus.AllowFocusReadonlyEditors and GridColumn.OptionsColumn.TabStop properties. Refer to the following documentation for more details:
      Access the Layout Control in Code
      Access Grid Control Properties
      Since this is not XAF-specific functionality, please reports issues on our XtraLayoutControl or XtraGrid products if you find any scenarios where these options do not operate as expected.
      This functionality can, however, be further improved and extended for other scenarios. So, you may be interested in the following item as well: ListEditors.Win - Do not tab stop on the column cell disabled with the help of Appearance or Security rules in an editable ListView.
      Thanks,
      Dennis

        Comments (2)
        CR CR
        Chris Royle (LOBS) 10 years ago

          Hi Dennis
          Thanks for adding this to the framework.
          Is it expected behavior when opening a DV with the first Property Editor a read only, that this editor should receive focus ?
          An older implementation of ours attempted to find the first available editor able to receive focus when showing the DV initially.
          Chris

          Dennis Garavsky (DevExpress) 10 years ago

            @Chris: Yes, this is expected, because the aforementioned LayoutControl's option does not cover this particular case, I am afraid. We will take this scenario into account for the future. Thanks for your input in this regard.

            Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

            Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.