This commit is contained in:
parent
75907928d7
commit
bb0f679c6b
2 changed files with 8 additions and 2 deletions
|
@ -90,9 +90,12 @@ namespace SafeExamBrowser.UserInterface.Desktop.Windows
|
|||
Activate();
|
||||
|
||||
if (forward)
|
||||
{
|
||||
if (ApplicationStackPanel.Children.Count > 0)
|
||||
{
|
||||
SetFocusWithin(ApplicationStackPanel.Children[0]);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
QuitButton.Focus();
|
||||
|
|
|
@ -89,9 +89,12 @@ namespace SafeExamBrowser.UserInterface.Mobile.Windows
|
|||
Activate();
|
||||
|
||||
if (fromTop)
|
||||
{
|
||||
if (ApplicationStackPanel.Children.Count > 0)
|
||||
{
|
||||
ApplicationStackPanel.Children[0].Focus();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
QuitButton.Focus();
|
||||
|
|
Loading…
Reference in a new issue