Add ability to switch off the first component focusing #1472
Labels
state: fixed
Fixed by the developer
type: enhancement
New feature or request
ver: 7.1.0
Fixed in version
Milestone
Currently, if no
focusComponent
is set, then the first possible component is focused, excluding buttons.It would be useful to have a possibility to disable this feature in case we want to focus a component by a custom logic.
AUTO
,OFF
Changes
In v7 screen xml added new attribute:
focusMode
with one optionNO_FOCUS
focuseMode
is not defined. It means that window will focus components as it is defined in default logic:if
focusComponent
is defined it will be focused, iffocusComponent
is not defined window will focus fisrt founded component.focusComponent
is defined.Note, now buttons can be focused if window wll try to find first component to focus. (if
focusComponent
is not specified andfocusMode
is AUTO)How to test
The text was updated successfully, but these errors were encountered: