{
// "Tab" key changes the focus group in the forward direction and
// "Shift-Tab" key changes it in the backward direction.
- if(!DoMoveFocusToNextFocusGroup(!event.IsShiftModifier()))
- {
- // If the focus group is not changed, Move the focus towards right, "Shift-Tap" key moves the focus towards left.
- if(!MoveFocus(event.IsShiftModifier() ? Toolkit::Control::KeyboardFocus::LEFT : Toolkit::Control::KeyboardFocus::RIGHT))
- {
- // If the focus is not moved, Move the focus towards down, "Shift-Tap" key moves the focus towards up.
- MoveFocus(event.IsShiftModifier() ? Toolkit::Control::KeyboardFocus::UP : Toolkit::Control::KeyboardFocus::DOWN);
- }
- }
+ DoMoveFocusToNextFocusGroup(!event.IsShiftModifier());
}
isFocusStartableKey = true;