- 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
Usability.Win - Do not tab stop on disabled/readonly editors and columns
Answers approved by DevExpress Support
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.
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
- v13.2.5Download Official Update
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
@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.
Please do implement this :)
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.